#include <Counters.h>
Public Member Functions | |
Counters () | |
Build the counters map. More... | |
virtual align::Counter | get (align::StructureType) const |
Get a counter based on its structure type. More... | |
virtual | ~Counters () |
Protected Attributes | |
std::map< align::StructureType, align::Counter > | theCounters |
Class to store a list of counters.
A counter is a pointer to a function that returns the number of an alignable based on its id. The number of an alignable is given by its position within its parent. User gets a counter using its structure type via Counters::get(type). Each sub-system has its own concrete counter class implementation.
Definition at line 30 of file Counters.h.
|
inline |
|
inlinevirtual |
Definition at line 37 of file Counters.h.
|
virtual |
Get a counter based on its structure type.
Definition at line 8 of file Counters.cc.
References edm::hlt::Exception, AlignableObjectId::idToString(), and n.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), AlignableBuilder::index(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
protected |
Definition at line 43 of file Counters.h.