#include <fib-entry.hpp>
Classes | |
class | Error |
Public Member Functions | |
FibEntry () | |
FibEntry (const Block &block) | |
const Name & | getPrefix () const |
FibEntry & | setPrefix (const Name &prefix) |
const std::vector< NextHopRecord > & | getNextHopRecords () const |
template<typename InputIt > | |
FibEntry & | setNextHopRecords (InputIt first, InputIt last) |
FibEntry & | addNextHopRecord (const NextHopRecord &nh) |
FibEntry & | clearNextHopRecords () |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &block) const |
const Block & | wireEncode () const |
void | wireDecode (const Block &block) |
Definition at line 101 of file fib-entry.hpp.
|
default |
|
explicit |
Definition at line 146 of file fib-entry.cpp.
References wireDecode().
|
inline |
Definition at line 116 of file fib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
Definition at line 152 of file fib-entry.cpp.
References ndn::Block::reset().
|
inline |
Definition at line 125 of file fib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 132 of file fib-entry.hpp.
References ndn::Block::reset().
FibEntry & ndn::nfd::FibEntry::addNextHopRecord | ( | const NextHopRecord & | nh | ) |
Definition at line 160 of file fib-entry.cpp.
References ndn::Block::reset().
FibEntry & ndn::nfd::FibEntry::clearNextHopRecords | ( | ) |
Definition at line 168 of file fib-entry.cpp.
References ndn::Block::reset().
size_t ndn::nfd::FibEntry::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 177 of file fib-entry.cpp.
References ndn::tlv::nfd::FibEntry, and ndn::Name::wireEncode().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 194 of file fib-entry.cpp.
References ndn::Block::hasWire().
void ndn::nfd::FibEntry::wireDecode | ( | const Block & | block | ) |
Definition at line 210 of file fib-entry.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::FibEntry, ndn::tlv::Name, NDN_THROW, ndn::tlv::nfd::NextHopRecord, ndn::Block::parse(), ndn::Block::type(), and ndn::Name::wireDecode().
Referenced by FibEntry().