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 157 of file rib-entry.hpp.
|
default |
Referenced by ndn::nfd::operator<<().
|
explicit |
Definition at line 223 of file rib-entry.cpp.
References ndn::nfd::Route::wireDecode().
|
inline |
Definition at line 176 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().
Referenced by nfd::rib::RibManager::onRibUpdateFailure().
|
inline |
Definition at line 185 of file rib-entry.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
|
inline |
Definition at line 192 of file rib-entry.hpp.
References ndn::nfd::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(), ndn::nfd::operator==(), ndn::nfd::Route::wireDecode(), and ndn::nfd::Route::wireEncode().
Definition at line 237 of file rib-entry.cpp.
References ndn::Block::reset().
Referenced by nfd::rib::RibManager::onRibUpdateFailure().
| 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::nfd::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(), and ndn::tlv::nfd::RibEntry.
Referenced by nfd::rib::RibManager::onRibUpdateFailure().
| const Block & ndn::nfd::RibEntry::wireEncode | ( | ) | const |
Definition at line 271 of file rib-entry.cpp.
References ndn::Block::hasWire(), and ndn::nfd::Route::wireEncode().
| void ndn::nfd::RibEntry::wireDecode | ( | const Block & | block | ) |
Definition at line 287 of file rib-entry.cpp.
References ndn::tlv::Name, ndn::Block::parse(), ndn::tlv::nfd::RibEntry, ndn::tlv::nfd::Route, ndn::to_string(), and ndn::Block::type().