ndn::nfd::FibEntry Class Reference

#include <ndn-cxx/mgmt/nfd/fib-entry.hpp>

Classes

class  Error
 

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ FibEntry() [1/2]

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

◆ FibEntry() [2/2]

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

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

Member Function Documentation

◆ addNextHopRecord()

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

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

◆ clearNextHopRecords()

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

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

◆ getNextHopRecords()

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

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

◆ getPrefix()

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

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

◆ setNextHopRecords()

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

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

◆ setPrefix()

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

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

◆ wireDecode()

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

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

◆ wireEncode() [1/2]

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

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

◆ wireEncode() [2/2]

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

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