#include <AlignableIndexer.h>
Public Member Functions | |
AlignableIndexer ()=default | |
Build the counters map. More... | |
AlignableIndexer (const AlignableIndexer &)=default | |
AlignableIndexer (AlignableIndexer &&)=default | |
virtual align::Counter | get (align::StructureType, const AlignableObjectId &) const |
Get a counter based on its structure type. More... | |
AlignableIndexer & | operator= (const AlignableIndexer &)=default |
AlignableIndexer & | operator= (AlignableIndexer &&)=default |
virtual | ~AlignableIndexer ()=default |
Protected Attributes | |
std::map< align::StructureType, align::Counter > | theCounters |
Class to store a list of index functions.
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 AlignableIndexer::get(type). Each sub-system has its own concrete counter class implementation.
Last Update: Max Stark Date: Wed, 17 Feb 2016 15:39:06 CET
Definition at line 34 of file AlignableIndexer.h.
|
default |
Build the counters map.
|
default |
|
default |
|
virtualdefault |
|
virtual |
Get a counter based on its structure type.
Definition at line 7 of file AlignableIndexer.cc.
References Exception, AlignableObjectId::idToString(), and dqmiodumpmetadata::n.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), AlignableCompositeBuilder::getIndexOfStructure(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
default |
|
default |
|
protected |
Definition at line 48 of file AlignableIndexer.h.
Referenced by TrackerAlignableIndexer::TrackerAlignableIndexer().