CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends

edm::TrieNodeIter< T > Class Template Reference

#include <Trie.h>

List of all members.

Public Types

typedef TrieNode< T > const node_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 243 of file Trie.h.


Member Typedef Documentation

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

Definition at line 251 of file Trie.h.

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

Definition at line 250 of file Trie.h.


Constructor & Destructor Documentation

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

Definition at line 252 of file Trie.h.

      : m_node(0), m_label(0)
    {}
template<typename T>
edm::TrieNodeIter< T >::TrieNodeIter ( node_base p) [inline, explicit]

Definition at line 256 of file Trie.h.

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

Member Function Documentation

template<typename T>
node_base& edm::TrieNodeIter< T >::dereference ( ) const [inline, private]

Definition at line 275 of file Trie.h.

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

{ return *m_node; }
template<typename T>
bool edm::TrieNodeIter< T >::equal ( self const &  other) const [inline, private]

Definition at line 270 of file Trie.h.

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

    {
      return this->m_node == other.m_node;
    }
template<typename T>
void edm::TrieNodeIter< T >::increment ( ) [inline, private]
template<typename T>
unsigned char edm::TrieNodeIter< T >::label ( ) const [inline]

Definition at line 261 of file Trie.h.

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

{ return m_label;}

Friends And Related Function Documentation

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

Definition at line 263 of file Trie.h.


Member Data Documentation

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

Definition at line 278 of file Trie.h.

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

template<typename T>
node_base* edm::TrieNodeIter< T >::m_node [private]