mirror of
https://github.com/paboyle/Grid.git
synced 2026-01-10 03:49:33 +00:00
Add function to say whether or not a module exists in application class
This commit is contained in:
@@ -91,6 +91,11 @@ const Application::GlobalPar & Application::getPar(void)
|
||||
return par_;
|
||||
}
|
||||
|
||||
bool Application::hasModule(const std::string name)
|
||||
{
|
||||
return env().hasModule(name);
|
||||
}
|
||||
|
||||
// execute /////////////////////////////////////////////////////////////////////
|
||||
void Application::run(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user