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

#include <nfd-fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

 FibEntry ()
 
 FibEntry (const Block &block)
 
const NamegetPrefix () const
 
FibEntrysetPrefix (const Name &prefix)
 
const std::list< NextHopRecord > & getNextHopRecords () const
 
FibEntryaddNextHopRecord (const NextHopRecord &nextHopRecord)
 
template<typename T >
FibEntrysetNextHopRecords (const T &begin, const T &end)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &wire)
 

Detailed Description

Definition at line 89 of file nfd-fib-entry.hpp.

Constructor & Destructor Documentation

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

Definition at line 160 of file nfd-fib-entry.cpp.

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

Definition at line 164 of file nfd-fib-entry.cpp.

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

Member Function Documentation

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

Definition at line 108 of file nfd-fib-entry.hpp.

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

Definition at line 170 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibEnumerationPublisher::generate().

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

Definition at line 117 of file nfd-fib-entry.hpp.

FibEntry & ndn::nfd::FibEntry::addNextHopRecord ( const NextHopRecord nextHopRecord)

Definition at line 178 of file nfd-fib-entry.cpp.

References ndn::Block::reset().

Referenced by nfd::FibEnumerationPublisher::generate().

template<typename T >
FibEntry& ndn::nfd::FibEntry::setNextHopRecords ( const T &  begin,
const T &  end 
)
inline
template<encoding::Tag TAG>
size_t ndn::nfd::FibEntry::wireEncode ( EncodingImpl< TAG > &  block) const

Definition at line 187 of file nfd-fib-entry.cpp.

References ndn::tlv::nfd::FibEntry.

Referenced by nfd::FibEnumerationPublisher::generate().

const Block & ndn::nfd::FibEntry::wireEncode ( ) const

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