22 std::ostringstream oss;
23 for (
auto item_ptr :
_items)
24 oss << item_ptr->dump();
33 const std::set<ExecFlagType> & flags = item->getExecuteOnFlags();
34 if (!flags.empty() && flags.find(current) == flags.end())
37 ") is not allowed to execute on '",
39 "', it is only allowed to execute on '",
48 return stream << obj.
dump();
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
The ControllableParameter class is simply a set of ControllableItem objects.
void checkExecuteOnType(const ExecFlagType ¤t) const
Check the execute flags.
void add(ControllableItem *item)
Adds the supplied item with the other items within this object.
std::vector< ControllableItem * > _items
Storage for the ControllableItems, these are stored as pointers to avoid copies.
std::ostream & operator<<(std::ostream &stream, const ControllableParameter &obj)
Class for containing MooseEnum item information.
An intermediate object for building a "controllable item", where an "item" can refer to multiple inpu...
std::string dump() const
Return a string that lists the parameters stored by this object.
std::string join(const T &strings, const std::string &delimiter)
Python like join function for strings.