#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 144 of file fib-entry.cpp.
References wireDecode().
|
inline |
Definition at line 120 of file fib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
Definition at line 150 of file fib-entry.cpp.
References ndn::Block::reset().
|
inline |
Definition at line 129 of file fib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 136 of file fib-entry.hpp.
References ndn::Block::reset().
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().
size_t ndn::nfd::FibEntry::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 175 of file fib-entry.cpp.
References ndn::tlv::nfd::FibEntry, and ndn::Name::wireEncode().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 192 of file fib-entry.cpp.
References ndn::Block::hasWire().
void ndn::nfd::FibEntry::wireDecode | ( | const Block & | block | ) |
Definition at line 208 of file fib-entry.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::FibEntry, ndn::tlv::Name, ndn::tlv::nfd::NextHopRecord, ndn::Block::parse(), ndn::to_string(), ndn::Block::type(), and ndn::Name::wireDecode().
Referenced by FibEntry().