nfd::name_tree::Iterator Class Reference

NameTree iterator. More...

#include <daemon/table/name-tree-iterator.hpp>

+ Inheritance diagram for nfd::name_tree::Iterator:
+ Collaboration diagram for nfd::name_tree::Iterator:

Public Member Functions

 Iterator ()
 
 Iterator (shared_ptr< EnumerationImpl > impl, const Entry *ref)
 
bool operator!= (const Iterator &other) const
 
const Entryoperator* () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
const Entryoperator-> () const
 
bool operator== (const Iterator &other) const
 

Friends

class FullEnumerationImpl
 
std::ostream & operator<< (std::ostream &, const Iterator &)
 
class PartialEnumerationImpl
 
class PrefixMatchImpl
 

Detailed Description

NameTree iterator.

Definition at line 72 of file name-tree-iterator.hpp.

Constructor & Destructor Documentation

nfd::name_tree::Iterator::Iterator ( )

Definition at line 40 of file name-tree-iterator.cpp.

nfd::name_tree::Iterator::Iterator ( shared_ptr< EnumerationImpl impl,
const Entry ref 
)

Definition at line 47 of file name-tree-iterator.cpp.

Member Function Documentation

bool nfd::name_tree::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 103 of file name-tree-iterator.hpp.

const Entry& nfd::name_tree::Iterator::operator* ( ) const
inline

Definition at line 80 of file name-tree-iterator.hpp.

Iterator & nfd::name_tree::Iterator::operator++ ( )

Definition at line 58 of file name-tree-iterator.cpp.

Iterator nfd::name_tree::Iterator::operator++ ( int  )

Definition at line 67 of file name-tree-iterator.cpp.

const Entry* nfd::name_tree::Iterator::operator-> ( ) const
inline

Definition at line 87 of file name-tree-iterator.hpp.

bool nfd::name_tree::Iterator::operator== ( const Iterator other) const

Definition at line 75 of file name-tree-iterator.cpp.

Friends And Related Function Documentation

friend class FullEnumerationImpl
friend

Definition at line 126 of file name-tree-iterator.hpp.

std::ostream& operator<< ( std::ostream &  ,
const Iterator  
)
friend

Definition at line 81 of file name-tree-iterator.cpp.

friend class PartialEnumerationImpl
friend

Definition at line 127 of file name-tree-iterator.hpp.

friend class PrefixMatchImpl
friend

Definition at line 128 of file name-tree-iterator.hpp.