CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::TrieNodeIter< T > Class Template Reference

#include <Trie.h>

Inheritance diagram for edm::TrieNodeIter< T >:

Public Types

typedef const TrieNode< Tnode_base
 
typedef TrieNodeIter< Tself
 

Public Member Functions

unsigned char label () const
 
 TrieNodeIter ()
 
 TrieNodeIter (node_base *p)
 

Private Member Functions

node_basedereference () const
 
bool equal (self const &other) const
 
void increment ()
 

Private Attributes

unsigned char m_label
 
node_basem_node
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<typename T>
class edm::TrieNodeIter< T >

Definition at line 66 of file Trie.h.

Member Typedef Documentation

◆ node_base

template<typename T>
typedef const TrieNode<T> edm::TrieNodeIter< T >::node_base

Definition at line 231 of file Trie.h.

◆ self

template<typename T>
typedef TrieNodeIter<T> edm::TrieNodeIter< T >::self

Definition at line 230 of file Trie.h.

Constructor & Destructor Documentation

◆ TrieNodeIter() [1/2]

template<typename T>
edm::TrieNodeIter< T >::TrieNodeIter ( )
inline

Definition at line 232 of file Trie.h.

232 : m_node(nullptr), m_label(0) {}

◆ TrieNodeIter() [2/2]

template<typename T>
edm::TrieNodeIter< T >::TrieNodeIter ( node_base p)
inlineexplicit

Definition at line 234 of file Trie.h.

234 : m_node(p ? p->subNode() : nullptr), m_label(p ? p->subNodeLabel() : 0) {}

Member Function Documentation

◆ dereference()

template<typename T>
node_base& edm::TrieNodeIter< T >::dereference ( ) const
inlineprivate

Definition at line 248 of file Trie.h.

248 { return *m_node; }

References edm::TrieNodeIter< T >::m_node.

◆ equal()

template<typename T>
bool edm::TrieNodeIter< T >::equal ( self const &  other) const
inlineprivate

Definition at line 246 of file Trie.h.

246 { return this->m_node == other.m_node; }

References edm::TrieNodeIter< T >::m_node, and trackingPlots::other.

◆ increment()

template<typename T>
void edm::TrieNodeIter< T >::increment ( )
inlineprivate

◆ label()

template<typename T>
unsigned char edm::TrieNodeIter< T >::label ( ) const
inline

Definition at line 236 of file Trie.h.

236 { return m_label; }

References edm::TrieNodeIter< T >::m_label.

Friends And Related Function Documentation

◆ boost::iterator_core_access

template<typename T>
friend class boost::iterator_core_access
friend

Definition at line 239 of file Trie.h.

Member Data Documentation

◆ m_label

template<typename T>
unsigned char edm::TrieNodeIter< T >::m_label
private

Definition at line 251 of file Trie.h.

Referenced by edm::TrieNodeIter< T >::increment(), and edm::TrieNodeIter< T >::label().

◆ m_node

template<typename T>
node_base* edm::TrieNodeIter< T >::m_node
private
edm::TrieNode::brotherLabel
unsigned char brotherLabel() const
get brother label
Definition: Trie.h:394
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::TrieNodeIter::m_node
node_base * m_node
Definition: Trie.h:250
trackingPlots.other
other
Definition: trackingPlots.py:1465
edm::TrieNode::brother
const TrieNode< T > * brother() const
get brother (return 0x0 this node has no brother)
Definition: Trie.h:363
edm::TrieNodeIter::m_label
unsigned char m_label
Definition: Trie.h:251