#include <DTBufferTree.h>
Public Types | |
typedef std::vector< Key > | CompositeKey |
typedef std::vector< Key > ::const_iterator | ElementKey |
Public Member Functions | |
std::vector< Content > | contList () |
DTBufferTree () | |
int | find (ElementKey fKey, ElementKey lKey, Content &cont) |
int | find (const Key &k, Content &cont) |
int | insert (ElementKey fKey, ElementKey lKey, const Content &cont) |
int | insert (const Key &k, const Content &cont) |
virtual | ~DTBufferTree () |
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(), DTT0::sortData(), and DTReadOutMapping::~DTReadOutMapping().
int DTBufferTree< Key, Content >::find | ( | ElementKey | fKey, |
ElementKey | lKey, | ||
Content & | cont | ||
) |
Referenced by DTCCBConfig::appendConfigKey(), DTReadOutMapping::cacheMap(), DTCCBConfig::cacheMap(), DTT0::checkOrder(), DTCCBConfig::configKey(), DTReadOutMapping::geometryToReadOut(), DTStatusFlag::get(), DTRangeT0::get(), DTLVStatus::get(), DTPerformance::get(), DTTtrig::get(), DTMtime::get(), DTDeadFlag::get(), DTTPGParameters::get(), DTHVStatus::get(), DTT0::getRandom(), DTT0::getSorted(), DTReadOutMapping::readOutToGeometry(), DTPerformance::set(), DTTPGParameters::set(), DTT0::set(), DTHVStatus::set(), DTRangeT0::set(), DTLVStatus::set(), DTDeadFlag::set(), DTTtrig::set(), DTStatusFlag::set(), DTMtime::set(), and DTCCBConfig::setConfigKey().
int DTBufferTree< Key, Content >::find | ( | const Key & | k, |
Content & | cont | ||
) |
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 DTCCBConfig::appendConfigKey(), DTLVStatus::cacheMap(), DTDeadFlag::cacheMap(), DTTtrig::cacheMap(), DTHVStatus::cacheMap(), DTStatusFlag::cacheMap(), DTMtime::cacheMap(), DTPerformance::cacheMap(), DTTPGParameters::cacheMap(), DTT0::cacheMap(), DTReadOutMapping::cacheMap(), DTRangeT0::cacheMap(), DTCCBConfig::cacheMap(), DTT0::checkOrder(), DTReadOutMapping::insertReadOutGeometryLink(), DTPerformance::set(), DTTPGParameters::set(), DTT0::set(), DTHVStatus::set(), DTRangeT0::set(), DTLVStatus::set(), DTDeadFlag::set(), DTTtrig::set(), DTStatusFlag::set(), DTMtime::set(), 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 DTReadOutMapping::cacheMap(), and DTCCBConfig::cacheMap().
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 [static, private] |
Definition at line 69 of file DTBufferTree.h.