Data abstraction for Nexthop.
More...
#include <nexthop.hpp>
Data abstraction for Nexthop.
NextHop := NEXTHOP-TYPE TLV-LENGTH Uri Cost
- See also
- https://redmine.named-data.net/projects/nlsr/wiki/Routing_Table_Dataset
Definition at line 43 of file tlv/nexthop.hpp.
nlsr::tlv::NextHop::NextHop |
( |
| ) |
|
nlsr::tlv::NextHop::NextHop |
( |
const ndn::Block & |
block | ) |
|
|
explicit |
double nlsr::tlv::NextHop::getCost |
( |
| ) |
const |
|
inline |
const std::string& nlsr::tlv::NextHop::getUri |
( |
| ) |
const |
|
inline |
NextHop& nlsr::tlv::NextHop::setCost |
( |
double |
cost | ) |
|
|
inline |
NextHop& nlsr::tlv::NextHop::setUri |
( |
const std::string & |
uri | ) |
|
|
inline |
void nlsr::tlv::NextHop::wireDecode |
( |
const ndn::Block & |
wire | ) |
|
template<ndn::encoding::Tag TAG>
size_t nlsr::tlv::NextHop::wireEncode |
( |
ndn::EncodingImpl< TAG > & |
block | ) |
const |
const ndn::Block & nlsr::tlv::NextHop::wireEncode |
( |
| ) |
const |