#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 105 of file fib-entry.hpp.
|
default |
Referenced by ndn::nfd::operator<<().
|
explicit |
Definition at line 144 of file fib-entry.cpp.
References ndn::nfd::NextHopRecord::wireDecode().
|
inline |
Definition at line 124 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 133 of file fib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 140 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 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::nfd::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 192 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 208 of file fib-entry.cpp.
References ndn::tlv::nfd::FibEntry, ndn::tlv::Name, ndn::tlv::nfd::NextHopRecord, ndn::Block::parse(), ndn::to_string(), and ndn::Block::type().