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)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &block) const
 
const BlockwireEncode () const
 

Detailed Description

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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