Belle II Software development
DependencyMap::ModuleInfo Struct Reference

Stores information on inputs/outputs of a module, as obtained by requireInput()/optionalInput()/registerEntry();. More...

#include <DependencyMap.h>

Public Member Functions

void addEntry (const std::string &name, EEntryType type, bool isRelation)
 Adds given entry/relation.
 

Public Attributes

std::set< std::string > entries [c_NEntryTypes]
 objects/arrays.
 
std::set< std::string > relations [c_NEntryTypes]
 relations between them.
 

Detailed Description

Stores information on inputs/outputs of a module, as obtained by requireInput()/optionalInput()/registerEntry();.

Definition at line 41 of file DependencyMap.h.

Member Function Documentation

◆ addEntry()

void addEntry ( const std::string &  name,
EEntryType  type,
bool  isRelation 
)

Adds given entry/relation.

Definition at line 21 of file DependencyMap.cc.

22{
23 if (isRelation)
24 relations[type].insert(name);
25 else
26 entries[type].insert(name);
27}
std::set< std::string > entries[c_NEntryTypes]
objects/arrays.
Definition: DependencyMap.h:42
std::set< std::string > relations[c_NEntryTypes]
relations between them.
Definition: DependencyMap.h:43

Member Data Documentation

◆ entries

std::set<std::string> entries[c_NEntryTypes]

objects/arrays.

Definition at line 42 of file DependencyMap.h.

◆ relations

std::set<std::string> relations[c_NEntryTypes]

relations between them.

Definition at line 43 of file DependencyMap.h.


The documentation for this struct was generated from the following files: