CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
DTBufferTree< Key, Content > Class Template Reference

#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
 

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 ( )
template<class Key, class Content>
int DTBufferTree< Key, Content >::find ( ElementKey  fKey,
ElementKey  lKey,
Content &  cont 
)
template<class Key, class Content>
int DTBufferTree< Key, Content >::find ( const Key &  k,
Content &  cont 
)
template<class Key, class Content>
int DTBufferTree< Key, Content >::insert ( ElementKey  fKey,
ElementKey  lKey,
const Content &  cont 
)
template<class Key, class Content>
int DTBufferTree< Key, Content >::insert ( const Key &  k,
const Content &  cont 
)
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
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
staticprivate

Definition at line 69 of file DTBufferTree.h.