8 #include <framework/datastore/DependencyMap.h> 
    9 #include <framework/core/Module.h> 
   16 std::string DependencyMap::getModuleID(
const Module& mod)
 
   18   return mod.getType() + std::to_string(
long(&mod));
 
   21 void DependencyMap::ModuleInfo::addEntry(
const std::string& name, 
EEntryType type, 
bool isRelation)
 
   24     relations[type].insert(name);
 
   26     entries[type].insert(name);
 
   29 bool DependencyMap::isUsedAs(
const std::string& branchName, 
EEntryType type)
 const 
   31   return any_of(m_moduleInfo.begin(), m_moduleInfo.end(),
 
   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.
Abstract base class for different kinds of events.