OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Patricia::Tree< D, P, K >::Iterator Class Reference

#include <patricia.h>

Inheritance diagram for Patricia::Tree< D, P, K >::Iterator:
Collaboration diagram for Patricia::Tree< D, P, K >::Iterator:

Public Member Functions

 Iterator ()
 
 Iterator (Tree< D, P, K > *tree, D *data)
 

Private Member Functions

void increment ()
 
bool equal (const Iterator &it) const
 
D * dereference () const
 

Private Attributes

Tree< D, P, K > * tree_
 
D * data_
 

Friends

class boost::iterator_core_access
 

Detailed Description

template<class D, Node D::* P, class K>
class Patricia::Tree< D, P, K >::Iterator

Definition at line 50 of file patricia.h.

Constructor & Destructor Documentation

template<class D, Node D::* P, class K>
Patricia::Tree< D, P, K >::Iterator::Iterator ( )
inline

Definition at line 55 of file patricia.h.

template<class D, Node D::* P, class K>
Patricia::Tree< D, P, K >::Iterator::Iterator ( Tree< D, P, K > *  tree,
D *  data 
)
inlineexplicit

Definition at line 56 of file patricia.h.

Member Function Documentation

template<class D, Node D::* P, class K>
D* Patricia::Tree< D, P, K >::Iterator::dereference ( ) const
inlineprivate

Definition at line 68 of file patricia.h.

template<class D, Node D::* P, class K>
bool Patricia::Tree< D, P, K >::Iterator::equal ( const Iterator it) const
inlineprivate

Definition at line 65 of file patricia.h.

template<class D, Node D::* P, class K>
void Patricia::Tree< D, P, K >::Iterator::increment ( )
inlineprivate

Definition at line 62 of file patricia.h.

Friends And Related Function Documentation

template<class D, Node D::* P, class K>
friend class boost::iterator_core_access
friend

Definition at line 60 of file patricia.h.

Member Data Documentation

template<class D, Node D::* P, class K>
D* Patricia::Tree< D, P, K >::Iterator::data_
private

Definition at line 72 of file patricia.h.

template<class D, Node D::* P, class K>
Tree<D, P, K>* Patricia::Tree< D, P, K >::Iterator::tree_
private

Definition at line 71 of file patricia.h.


The documentation for this class was generated from the following file: