#include <CondFormats/DTObjects/interface/DTBufferTree.h>
Public Types | |
typedef std::vector< Key > | CompositeKey |
typedef std::vector< Key > ::const_iterator | ElementKey |
Public Member Functions | |
std::vector< Content > | contList () |
DTBufferTree () | |
Constructor. | |
int | find (const Key &k, Content &cont) |
int | find (ElementKey fKey, ElementKey lKey, Content &cont) |
int | insert (const Key &k, const Content &cont) |
int | insert (ElementKey fKey, ElementKey lKey, const Content &cont) |
Operations. | |
virtual | ~DTBufferTree () |
Destructor. | |
Static Public Member Functions | |
static void | setDefault (const Content &def) |
Private Types | |
typedef std::map< Key, DTBufferTree< Key, Content > * > | map_cont |
typedef std::map< Key, DTBufferTree< Key, Content > * >::iterator | map_iter |
typedef DTBufferTree< Key, Content > | map_node |
Private Member Functions | |
void | leafCont (std::vector< Content > &contentList) |
void | treeCont (std::vector< Content > &contentList) |
Private Attributes | |
Content | bufferContent |
map_cont | bufferMap |
Static Private Attributes | |
static Content | defaultContent |
Definition at line 35 of file DTBufferTree.h.
typedef std::vector<Key> DTBufferTree< Key, Content >::CompositeKey |
Definition at line 39 of file DTBufferTree.h.
typedef std::vector<Key>::const_iterator DTBufferTree< Key, Content >::ElementKey |
Definition at line 40 of file DTBufferTree.h.
typedef std::map<Key,DTBufferTree<Key,Content>*> DTBufferTree< Key, Content >::map_cont [private] |
Definition at line 63 of file DTBufferTree.h.
typedef std::map<Key,DTBufferTree<Key,Content>*>::iterator DTBufferTree< Key, Content >::map_iter [private] |
Definition at line 64 of file DTBufferTree.h.
typedef DTBufferTree<Key,Content> DTBufferTree< Key, Content >::map_node [private] |
Definition at line 62 of file DTBufferTree.h.
DTBufferTree< Key, Content >::DTBufferTree | ( | ) |
Constructor.
virtual DTBufferTree< Key, Content >::~DTBufferTree | ( | ) | [virtual] |
Destructor.
std::vector<Content> DTBufferTree< Key, Content >::contList | ( | ) |
Referenced by DTCCBConfig::resetMap().
int DTBufferTree< Key, Content >::find | ( | const Key & | k, | |
Content & | cont | |||
) |
int DTBufferTree< Key, Content >::find | ( | ElementKey | fKey, | |
ElementKey | lKey, | |||
Content & | cont | |||
) |
Referenced by DTCCBConfig::cacheMap(), DTCCBConfig::configKey(), DTReadOutMapping::geometryToReadOut(), DTRangeT0::get(), DTStatusFlag::get(), DTPerformance::get(), DTTtrig::get(), DTConfigList::get(), DTMtime::get(), DTDeadFlag::get(), DTT0::get(), DTReadOutMapping::readOutToGeometry(), DTPerformance::set(), DTT0::set(), DTRangeT0::set(), DTTtrig::set(), DTConfigList::set(), DTMtime::set(), DTStatusFlag::setCellStatus(), DTDeadFlag::setCellStatus(), and DTCCBConfig::setConfigKey().
int DTBufferTree< Key, Content >::insert | ( | const Key & | k, | |
const Content & | cont | |||
) |
int DTBufferTree< Key, Content >::insert | ( | ElementKey | fKey, | |
ElementKey | lKey, | |||
const Content & | cont | |||
) |
Operations.
Referenced by DTDeadFlag::cacheMap(), DTTtrig::cacheMap(), DTMtime::cacheMap(), DTStatusFlag::cacheMap(), DTPerformance::cacheMap(), DTConfigList::cacheMap(), DTT0::cacheMap(), DTRangeT0::cacheMap(), DTReadOutMapping::cacheMap(), DTCCBConfig::cacheMap(), DTReadOutMapping::insertReadOutGeometryLink(), DTPerformance::set(), DTT0::set(), DTRangeT0::set(), DTTtrig::set(), DTConfigList::set(), DTMtime::set(), DTStatusFlag::setCellStatus(), DTDeadFlag::setCellStatus(), and DTCCBConfig::setConfigKey().
void DTBufferTree< Key, Content >::leafCont | ( | std::vector< Content > & | contentList | ) | [private] |
static void DTBufferTree< Key, Content >::setDefault | ( | const Content & | def | ) | [static] |
Referenced by DTCCBConfig::cacheMap(), and DTBufferInit::DTBufferInit().
void DTBufferTree< Key, Content >::treeCont | ( | std::vector< Content > & | contentList | ) | [private] |
Content DTBufferTree< Key, Content >::bufferContent [private] |
Definition at line 66 of file DTBufferTree.h.
map_cont DTBufferTree< Key, Content >::bufferMap [private] |
Definition at line 67 of file DTBufferTree.h.
Content DTBufferTree< Key, Content >::defaultContent [inline, static, private] |
Definition at line 69 of file DTBufferTree.h.