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

#include <fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

 FibEntry ()
 
 FibEntry (const Block &block)
 
const NamegetPrefix () const
 
FibEntrysetPrefix (const Name &prefix)
 
const std::vector< NextHopRecord > & getNextHopRecords () const
 
template<typename InputIt >
FibEntrysetNextHopRecords (InputIt first, InputIt last)
 
FibEntryaddNextHopRecord (const NextHopRecord &nh)
 
FibEntryclearNextHopRecords ()
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &block)
 

Detailed Description

Constructor & Destructor Documentation

ndn::nfd::FibEntry::FibEntry ( )
default

Referenced by ndn::nfd::operator<<().

ndn::nfd::FibEntry::FibEntry ( const Block block)
explicit

Definition at line 144 of file fib-entry.cpp.

References ndn::nfd::NextHopRecord::wireDecode().

Member Function Documentation

const Name& ndn::nfd::FibEntry::getPrefix ( ) const
inline

Definition at line 124 of file fib-entry.hpp.

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

FibEntry & ndn::nfd::FibEntry::setPrefix ( const Name prefix)

Definition at line 150 of file fib-entry.cpp.

References ndn::Block::reset().

const std::vector<NextHopRecord>& ndn::nfd::FibEntry::getNextHopRecords ( ) const
inline

Definition at line 133 of file fib-entry.hpp.

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

template<typename InputIt >
FibEntry& ndn::nfd::FibEntry::setNextHopRecords ( InputIt  first,
InputIt  last 
)
inline
FibEntry & ndn::nfd::FibEntry::addNextHopRecord ( const NextHopRecord nh)

Definition at line 158 of file fib-entry.cpp.

References ndn::Block::reset().

FibEntry & ndn::nfd::FibEntry::clearNextHopRecords ( )

Definition at line 166 of file fib-entry.cpp.

References ndn::Block::reset().

template<encoding::Tag TAG>
size_t ndn::nfd::FibEntry::wireEncode ( EncodingImpl< TAG > &  block) const
const Block & ndn::nfd::FibEntry::wireEncode ( ) const

Definition at line 192 of file fib-entry.cpp.

References ndn::Block::hasWire(), and ndn::nfd::NextHopRecord::wireEncode().

void ndn::nfd::FibEntry::wireDecode ( const Block block)

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