8#include <framework/datastore/DependencyMap.h>
9#include <framework/core/Module.h>
18 return mod.getType() + std::to_string(
long(&mod));
32 [branchName, type](
const pair<string, ModuleInfo>& info) {
33 if (info.second.entries[type].count(branchName))
35 return (bool)info.second.relations[type].count(branchName);
EEntryType
Possible types of entries/relations for a module.
std::map< std::string, ModuleInfo > m_moduleInfo
Stores information on inputs/outputs of each module, as obtained by requireInput()/optionalInput()/re...
static std::string getModuleID(const Module &mod)
Return unique ID for given module.
bool isUsedAs(const std::string &branchName, EEntryType type) const
Is the object/array/relation with given name used as specified input/output type (in any module)?
Abstract base class for different kinds of events.
std::set< std::string > entries[c_NEntryTypes]
objects/arrays.
std::set< std::string > relations[c_NEntryTypes]
relations between them.
void addEntry(const std::string &name, EEntryType type, bool isRelation)
Adds given entry/relation.