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

Name Tree Entry Class. More...

#include <name-tree-entry.hpp>

Inheritance diagram for nfd::name_tree::Entry:
Collaboration diagram for nfd::name_tree::Entry:

Public Member Functions

 Entry (const Name &prefix)
 
 ~Entry ()
 
const NamegetPrefix () const
 
void setHash (size_t hash)
 
size_t getHash () const
 
void setParent (shared_ptr< Entry > parent)
 
shared_ptr< EntrygetParent () const
 
std::vector< shared_ptr< Entry > > & getChildren ()
 
bool hasChildren () const
 
bool isEmpty () const
 
void setFibEntry (shared_ptr< fib::Entry > fibEntry)
 
shared_ptr< fib::EntrygetFibEntry () const
 
void insertPitEntry (shared_ptr< pit::Entry > pitEntry)
 
void erasePitEntry (shared_ptr< pit::Entry > pitEntry)
 
bool hasPitEntries () const
 
const std::vector< shared_ptr< pit::Entry > > & getPitEntries () const
 
void setMeasurementsEntry (shared_ptr< measurements::Entry > measurementsEntry)
 
shared_ptr< measurements::EntrygetMeasurementsEntry () const
 
void setStrategyChoiceEntry (shared_ptr< strategy_choice::Entry > strategyChoiceEntry)
 
shared_ptr< strategy_choice::EntrygetStrategyChoiceEntry () const
 

Friends

class nfd::NameTree
 

Detailed Description

Name Tree Entry Class.

Definition at line 65 of file name-tree-entry.hpp.

Constructor & Destructor Documentation

nfd::name_tree::Entry::Entry ( const Name prefix)
explicit

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

nfd::name_tree::Entry::~Entry ( )

Definition at line 53 of file name-tree-entry.cpp.

Member Function Documentation

const Name & nfd::name_tree::Entry::getPrefix ( ) const
inline

Definition at line 149 of file name-tree-entry.hpp.

Referenced by nfd::clearStrategyInfo(), and nfd::Measurements::Measurements().

void nfd::name_tree::Entry::setHash ( size_t  hash)
inline

Definition at line 161 of file name-tree-entry.hpp.

size_t nfd::name_tree::Entry::getHash ( ) const
inline

Definition at line 155 of file name-tree-entry.hpp.

void nfd::name_tree::Entry::setParent ( shared_ptr< Entry parent)
inline

Definition at line 173 of file name-tree-entry.hpp.

shared_ptr< Entry > nfd::name_tree::Entry::getParent ( ) const
inline

Definition at line 167 of file name-tree-entry.hpp.

Referenced by nfd::Measurements::getParent().

std::vector< shared_ptr< name_tree::Entry > > & nfd::name_tree::Entry::getChildren ( )
inline

Definition at line 179 of file name-tree-entry.hpp.

bool nfd::name_tree::Entry::hasChildren ( ) const
inline

Definition at line 185 of file name-tree-entry.hpp.

bool nfd::name_tree::Entry::isEmpty ( ) const

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

void nfd::name_tree::Entry::setFibEntry ( shared_ptr< fib::Entry fibEntry)

Definition at line 68 of file name-tree-entry.cpp.

shared_ptr< fib::Entry > nfd::name_tree::Entry::getFibEntry ( ) const
inline

Definition at line 191 of file name-tree-entry.hpp.

Referenced by nfd::predicate_NameTreeEntry_hasFibEntry().

void nfd::name_tree::Entry::insertPitEntry ( shared_ptr< pit::Entry pitEntry)

Definition at line 84 of file name-tree-entry.cpp.

void nfd::name_tree::Entry::erasePitEntry ( shared_ptr< pit::Entry pitEntry)

Definition at line 94 of file name-tree-entry.cpp.

bool nfd::name_tree::Entry::hasPitEntries ( ) const
inline

Definition at line 197 of file name-tree-entry.hpp.

const std::vector< shared_ptr< pit::Entry > > & nfd::name_tree::Entry::getPitEntries ( ) const
inline

Definition at line 203 of file name-tree-entry.hpp.

Referenced by nfd::clearStrategyInfo().

void nfd::name_tree::Entry::setMeasurementsEntry ( shared_ptr< measurements::Entry measurementsEntry)

Definition at line 109 of file name-tree-entry.cpp.

Referenced by nfd::Measurements::Measurements().

shared_ptr< measurements::Entry > nfd::name_tree::Entry::getMeasurementsEntry ( ) const
inline
void nfd::name_tree::Entry::setStrategyChoiceEntry ( shared_ptr< strategy_choice::Entry strategyChoiceEntry)

Definition at line 125 of file name-tree-entry.cpp.

shared_ptr< strategy_choice::Entry > nfd::name_tree::Entry::getStrategyChoiceEntry ( ) const
inline

Friends And Related Function Documentation

friend class nfd::NameTree
friend

Definition at line 145 of file name-tree-entry.hpp.


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