represents an item in NFD RIB dataset More...
#include <rib-entry.hpp>
Classes | |
| class | Error |
Public Member Functions | |
| RibEntry () | |
| RibEntry (const Block &block) | |
| const Name & | getName () const |
| RibEntry & | setName (const Name &prefix) |
| const std::vector< Route > & | getRoutes () const |
| template<typename InputIt > | |
| RibEntry & | setRoutes (InputIt first, InputIt last) |
| RibEntry & | addRoute (const Route &route) |
| RibEntry & | clearRoutes () |
| template<encoding::Tag TAG> | |
| size_t | wireEncode (EncodingImpl< TAG > &block) const |
| const Block & | wireEncode () const |
| void | wireDecode (const Block &block) |
represents an item in NFD RIB dataset
A RIB entry contains one or more routes for a name prefix
Definition at line 153 of file rib-entry.hpp.
|
default |
|
explicit |
Definition at line 223 of file rib-entry.cpp.
References wireDecode().
|
inline |
Definition at line 172 of file rib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
Definition at line 229 of file rib-entry.cpp.
References ndn::Block::reset().
|
inline |
Definition at line 181 of file rib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 188 of file rib-entry.hpp.
References ndn::Block::reset().
Definition at line 237 of file rib-entry.cpp.
References ndn::Block::reset().
| RibEntry & ndn::nfd::RibEntry::clearRoutes | ( | ) |
Definition at line 245 of file rib-entry.cpp.
References ndn::Block::reset().
| size_t ndn::nfd::RibEntry::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 254 of file rib-entry.cpp.
References ndn::tlv::nfd::RibEntry, and ndn::Name::wireEncode().
| const Block & ndn::nfd::RibEntry::wireEncode | ( | ) | const |
Definition at line 271 of file rib-entry.cpp.
References ndn::Block::hasWire().
| void ndn::nfd::RibEntry::wireDecode | ( | const Block & | block | ) |
Definition at line 287 of file rib-entry.cpp.
References ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::Name, ndn::Block::parse(), ndn::tlv::nfd::RibEntry, ndn::tlv::nfd::Route, ndn::to_string(), ndn::Block::type(), and ndn::Name::wireDecode().
Referenced by RibEntry().