#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 |
Referenced by ndn::nfd::operator<<().
|
explicit |
Definition at line 146 of file fib-entry.cpp.
References ndn::nfd::NextHopRecord::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::nfd::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(), ndn::nfd::operator==(), ndn::nfd::NextHopRecord::wireDecode(), and ndn::nfd::NextHopRecord::wireEncode().
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::nfd::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 194 of file fib-entry.cpp.
References ndn::Block::hasWire(), and ndn::nfd::NextHopRecord::wireEncode().
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(), and ndn::Block::type().