NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::NameTree::const_iterator Class Reference

#include <name-tree.hpp>

Inheritance diagram for nfd::NameTree::const_iterator:
Collaboration diagram for nfd::NameTree::const_iterator:

Public Member Functions

 const_iterator ()
 
 const_iterator (NameTree::IteratorType type, const NameTree &nameTree, shared_ptr< name_tree::Entry > entry, const name_tree::EntrySelector &entrySelector=name_tree::AnyEntry(), const name_tree::EntrySubTreeSelector &entrySubTreeSelector=name_tree::AnyEntrySubTree())
 
 ~const_iterator ()
 
const name_tree::Entryoperator* () const
 
shared_ptr< name_tree::Entryoperator-> () const
 
const_iterator operator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 

Friends

class NameTree
 

Detailed Description

Definition at line 251 of file name-tree.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

nfd::NameTree::const_iterator::const_iterator ( )

Definition at line 587 of file name-tree.cpp.

◆ const_iterator() [2/2]

nfd::NameTree::const_iterator::const_iterator ( NameTree::IteratorType  type,
const NameTree nameTree,
shared_ptr< name_tree::Entry entry,
const name_tree::EntrySelector entrySelector = name_tree::AnyEntry(),
const name_tree::EntrySubTreeSelector entrySubTreeSelector = name_tree::AnyEntrySubTree() 
)

Definition at line 592 of file name-tree.cpp.

◆ ~const_iterator()

nfd::NameTree::const_iterator::~const_iterator ( )
inline

Definition at line 331 of file name-tree.hpp.

Member Function Documentation

◆ operator*()

const name_tree::Entry & nfd::NameTree::const_iterator::operator* ( ) const
inline

Definition at line 384 of file name-tree.hpp.

◆ operator->()

shared_ptr< name_tree::Entry > nfd::NameTree::const_iterator::operator-> ( ) const
inline

Definition at line 390 of file name-tree.hpp.

◆ operator++() [1/2]

◆ operator++() [2/2]

NameTree::const_iterator nfd::NameTree::const_iterator::operator++ ( int  )
inline

Definition at line 396 of file name-tree.hpp.

◆ operator==()

bool nfd::NameTree::const_iterator::operator== ( const const_iterator other) const
inline

Definition at line 404 of file name-tree.hpp.

◆ operator!=()

bool nfd::NameTree::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 410 of file name-tree.hpp.

Friends And Related Function Documentation

◆ NameTree

friend class NameTree
friend

Definition at line 254 of file name-tree.hpp.


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