CMS 3D CMS Logo

DTBufferTree< Key, Content > Class Template Reference

Description:. More...

#include <CondFormats/DTObjects/interface/DTBufferTree.h>

List of all members.

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


Detailed Description

template<class Key, class Content>
class DTBufferTree< Key, Content >

Description:.

Date
2007/12/07 15:00:45
Revision
1.3
Author:
Paolo Ronchese INFN Padova

Definition at line 35 of file DTBufferTree.h.


Member Typedef Documentation

template<class Key, class Content>
typedef std::vector<Key> DTBufferTree< Key, Content >::CompositeKey

Definition at line 39 of file DTBufferTree.h.

template<class Key, class Content>
typedef std::vector<Key>::const_iterator DTBufferTree< Key, Content >::ElementKey

Definition at line 40 of file DTBufferTree.h.

template<class Key, class Content>
typedef std::map<Key,DTBufferTree<Key,Content>*> DTBufferTree< Key, Content >::map_cont [private]

Definition at line 63 of file DTBufferTree.h.

template<class Key, class Content>
typedef std::map<Key,DTBufferTree<Key,Content>*>::iterator DTBufferTree< Key, Content >::map_iter [private]

Definition at line 64 of file DTBufferTree.h.

template<class Key, class Content>
typedef DTBufferTree<Key,Content> DTBufferTree< Key, Content >::map_node [private]

Definition at line 62 of file DTBufferTree.h.


Constructor & Destructor Documentation

template<class Key, class Content>
DTBufferTree< Key, Content >::DTBufferTree (  ) 

Constructor.

template<class Key, class Content>
virtual DTBufferTree< Key, Content >::~DTBufferTree (  )  [virtual]

Destructor.


Member Function Documentation

template<class Key, class Content>
std::vector<Content> DTBufferTree< Key, Content >::contList (  ) 

Referenced by DTCCBConfig::resetMap().

template<class Key, class Content>
int DTBufferTree< Key, Content >::find ( const Key &  k,
Content &  cont 
)

template<class Key, class Content>
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().

template<class Key, class Content>
int DTBufferTree< Key, Content >::insert ( const Key &  k,
const Content &  cont 
)

template<class Key, class Content>
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().

template<class Key, class Content>
void DTBufferTree< Key, Content >::leafCont ( std::vector< Content > &  contentList  )  [private]

template<class Key, class Content>
static void DTBufferTree< Key, Content >::setDefault ( const Content &  def  )  [static]

Referenced by DTCCBConfig::cacheMap(), and DTBufferInit::DTBufferInit().

template<class Key, class Content>
void DTBufferTree< Key, Content >::treeCont ( std::vector< Content > &  contentList  )  [private]


Member Data Documentation

template<class Key, class Content>
Content DTBufferTree< Key, Content >::bufferContent [private]

Definition at line 66 of file DTBufferTree.h.

template<class Key, class Content>
map_cont DTBufferTree< Key, Content >::bufferMap [private]

Definition at line 67 of file DTBufferTree.h.

template<class Key, class Content>
Content DTBufferTree< Key, Content >::defaultContent [inline, static, private]

Definition at line 69 of file DTBufferTree.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:18:44 2009 for CMSSW by  doxygen 1.5.4