#include <nfd-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::list< NextHopRecord > & | getNextHopRecords () const |
FibEntry & | addNextHopRecord (const NextHopRecord &nextHopRecord) |
template<typename T > | |
FibEntry & | setNextHopRecords (const T &begin, const T &end) |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &block) const |
const Block & | wireEncode () const |
void | wireDecode (const Block &wire) |
Definition at line 89 of file nfd-fib-entry.hpp.
ndn::nfd::FibEntry::FibEntry | ( | ) |
Definition at line 160 of file nfd-fib-entry.cpp.
|
explicit |
Definition at line 164 of file nfd-fib-entry.cpp.
References ndn::nfd::NextHopRecord::wireDecode().
|
inline |
Definition at line 108 of file nfd-fib-entry.hpp.
Definition at line 170 of file nfd-fib-entry.cpp.
References ndn::Block::reset().
Referenced by nfd::FibEnumerationPublisher::generate().
|
inline |
Definition at line 117 of file nfd-fib-entry.hpp.
FibEntry & ndn::nfd::FibEntry::addNextHopRecord | ( | const NextHopRecord & | nextHopRecord | ) |
Definition at line 178 of file nfd-fib-entry.cpp.
References ndn::Block::reset().
Referenced by nfd::FibEnumerationPublisher::generate().
|
inline |
Definition at line 127 of file nfd-fib-entry.hpp.
References ndn::nfd::NextHopRecord::wireDecode(), and ndn::nfd::NextHopRecord::wireEncode().
size_t ndn::nfd::FibEntry::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 187 of file nfd-fib-entry.cpp.
References ndn::tlv::nfd::FibEntry.
Referenced by nfd::FibEnumerationPublisher::generate().
const Block & ndn::nfd::FibEntry::wireEncode | ( | ) | const |
Definition at line 209 of file nfd-fib-entry.cpp.
References ndn::Block::hasWire(), and ndn::nfd::NextHopRecord::wireEncode().
void ndn::nfd::FibEntry::wireDecode | ( | const Block & | wire | ) |
Definition at line 227 of file nfd-fib-entry.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::FibEntry, ndn::tlv::Name, ndn::nfd::NextHopRecord::NextHopRecord(), ndn::tlv::nfd::NextHopRecord, ndn::Block::parse(), and ndn::Block::type().