39 void registerTaskName(
const std::string & task,
bool should_auto_build =
false);
48 const std::string & moose_object_type,
49 bool should_auto_build =
false);
59 appendTaskName(
const std::string & task,
const std::string & moose_object_type,
bool deprecated);
61 void addDependency(
const std::string & task,
const std::string & pre_req);
95 bool hasTask(
const std::string & task)
const;
113 const std::string & syntax,
114 const std::string & task =
"",
115 const std::string & file =
"",
124 const std::string & syntax,
125 const std::string & task,
126 const std::string & file =
"",
165 const std::string & task =
"");
172 const std::string & task =
"");
181 const std::map<std::string, std::set<std::string>> & alt_map = {})
const;
187 std::pair<std::multimap<std::string, ActionInfo>::const_iterator,
188 std::multimap<std::string, ActionInfo>::const_iterator>
211 const std::string & action,
212 const std::string & task)
const;
bool hasTask(const std::string &task) const
Returns a Boolean indicating whether or not a task is registered with the syntax object.
void appendTaskName(const std::string &task, const std::string &moose_object_type, bool deprecated)
Method to associate another "allowed" pluggable MOOSE system to an existing registered task...
const std::multimap< std::string, std::string > & getAssociatedTypes() const
Get a multimap of registered associations of syntax with type.
std::pair< std::multimap< std::string, ActionInfo >::const_iterator, std::multimap< std::string, ActionInfo >::const_iterator > getActions(const std::string &syntax) const
Returns a pair of multimap iterators to all the ActionInfo objects associated with a given piece of s...
const std::multimap< std::string, ActionInfo > & getAssociatedActions() const
Return all Syntax to Action associations.
bool _actions_to_syntax_valid
Boolean indicating whether the _actions_to_syntax map is built and valid and synced.
void deleteTaskDependencies(const std::string &task)
Deletes or removes the dependencies that this task depends on.
void addDependency(const std::string &task, const std::string &pre_req)
FileLineInfoMap _syntax_to_line
DependencyResolver< std::string > _tasks
The dependency resolver.
void registerTaskName(const std::string &task, bool should_auto_build=false)
Method to register a new task.
std::multimap< std::string, std::pair< std::string, std::string > > _actions_to_syntax
The ActionInfo (Action+task) to syntax associations (built only when needed) Action -> (Syntax...
FileLineInfo getLineInfo(const std::string &syntax, const std::string &action, const std::string &task) const
Gets the file and line where the syntax/action/task combo was registered.
void registerActionSyntax(const std::string &action, const std::string &syntax, const std::string &task="", const std::string &file="", int line=-1)
Registration function for associating Moose Actions with syntax.
const std::vector< std::string > & getSortedTask()
Get a list of serialized tasks in a correct dependency order.
bool isActionRequired(const std::string &task) const
Returns a Boolean indicating whether the specified task is required.
std::multimap< std::string, std::string > _deprecated_list_moose_systems_to_tasks
A list of Moose system objects to tasks that are deprecated for these systems.
std::vector< std::string > getSyntaxByAction(const std::string &action, const std::string &task="")
Retrieve the syntax associated with the passed in action type string.
bool shouldAutoBuild(const std::string &task) const
Returns a Boolean indicating whether MOOSE should attempt to automatically create an Action to satisf...
std::vector< std::string > getNonDeprecatedSyntaxByAction(const std::string &action, const std::string &task="")
Retrieve the non-deprecated syntax associated with the passed in action type string.
bool isDeprecatedSyntax(const std::string &syntax) const
Returns a Boolean indicating whether the syntax has been deprecated through a call to deprecateAction...
std::map< std::string, bool > _registered_tasks
The list of registered tasks and a flag indicating whether or not they should be auto-built.
const std::vector< std::vector< std::string > > & getSortedTaskSet()
Get a list of serialized tasks in a correct dependency order.
void replaceActionSyntax(const std::string &action, const std::string &syntax, const std::string &task, const std::string &file="", int line=-1)
Registration function that replaces existing Moose Actions with a completely new action Note: This fu...
void clearTaskDependencies()
Clears all tasks from the system object.
Holds file and line information.
void addDependencySets(const std::string &action_sets)
Adds all dependencies in a single call.
std::string isAssociated(const std::string &real_id, bool *is_parent, const std::map< std::string, std::set< std::string >> &alt_map={}) const
Method for determining whether a piece of syntax is associated with an Action an optional syntax map ...
std::multimap< std::string, std::string > _moose_systems_to_tasks
The list of Moose system objects to tasks. This map indicates which tasks are allowed to build certai...
void registerSyntaxType(const std::string &syntax, const std::string &type)
Register a type with a block.
Holding syntax for parsing input files.
std::map< std::string, std::string > _deprecated_syntax
The list of deprecated syntax items and the associated deprecated message.
bool verifyMooseObjectTask(const std::string &base, const std::string &task) const
Returns a Boolean indicating whether a task is associated with on of the MOOSE pluggable systems (BAS...
std::multimap< std::string, ActionInfo > _syntax_to_actions
The syntax object to ActionInfo (Action+task) associations.
std::string deprecatedActionSyntaxMessage(const std::string syntax)
Returns the deprecation message for a given syntax that has been deprecated by deprecateActionSyntax...
void deprecateActionSyntax(const std::string &syntax)
This method deprecates previously registered syntax.
A mapping between a series of keys to a FileLineInfo.
std::multimap< std::string, std::string > _associated_types
Syntax/Type association.