CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
DTBufferTree< Key, Content > Class Template Reference

#include <DTBufferTree.h>

Public Types

typedef std::vector< Key >::const_iterator ElementKey
 

Public Member Functions

void clear ()
 
 DTBufferTree ()
 
int find (const Key &k, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
 
int find (const Key &k, typename DTBufferTreeTrait< Content >::outputTypeOfNonConstFind &cont)
 
int find (ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
 
int find (ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfNonConstFind &cont)
 
int insert (const Key &k, Content cont)
 
int insert (ElementKey fKey, ElementKey lKey, Content cont)
 
virtual ~DTBufferTree ()
 

Private Types

typedef std::map< Key, DTBufferTree< Key, Content > * > map_cont
 
typedef std::map< Key, DTBufferTree< Key, Content > * >::const_iterator map_iter
 
typedef DTBufferTree< Key, Content > map_node
 

Private Member Functions

 DTBufferTree (DTBufferTree const &)=delete
 
DTBufferTreeoperator= (DTBufferTree const &)=delete
 

Private Attributes

Content bufferContent
 
map_cont bufferMap
 

Detailed Description

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

Description:

Author
Paolo Ronchese INFN Padova

Definition at line 42 of file DTBufferTree.h.

Member Typedef Documentation

◆ ElementKey

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

Definition at line 44 of file DTBufferTree.h.

◆ map_cont

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.

◆ map_iter

template<class Key, class Content>
typedef std::map<Key, DTBufferTree<Key, Content>*>::const_iterator DTBufferTree< Key, Content >::map_iter
private

Definition at line 64 of file DTBufferTree.h.

◆ map_node

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

◆ DTBufferTree() [1/2]

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

◆ ~DTBufferTree()

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

◆ DTBufferTree() [2/2]

template<class Key, class Content>
DTBufferTree< Key, Content >::DTBufferTree ( DTBufferTree< Key, Content > const &  )
privatedelete

Member Function Documentation

◆ clear()

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

◆ find() [1/4]

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

◆ find() [2/4]

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

◆ find() [3/4]

template<class Key, class Content>
int DTBufferTree< Key, Content >::find ( ElementKey  fKey,
ElementKey  lKey,
typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &  cont 
) const

◆ find() [4/4]

template<class Key, class Content>
int DTBufferTree< Key, Content >::find ( ElementKey  fKey,
ElementKey  lKey,
typename DTBufferTreeTrait< Content >::outputTypeOfNonConstFind &  cont 
)

◆ insert() [1/2]

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

◆ insert() [2/2]

template<class Key, class Content>
int DTBufferTree< Key, Content >::insert ( ElementKey  fKey,
ElementKey  lKey,
Content  cont 
)

◆ operator=()

template<class Key, class Content>
DTBufferTree& DTBufferTree< Key, Content >::operator= ( DTBufferTree< Key, Content > const &  )
privatedelete

Member Data Documentation

◆ bufferContent

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

Definition at line 66 of file DTBufferTree.h.

◆ bufferMap

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

Definition at line 67 of file DTBufferTree.h.