nlsr::tlv::Destination Class Reference

Data abstraction for Destination. More...

#include <destination.hpp>

Data Structures

class  Error
 

Public Member Functions

 Destination ()
 
 Destination (const ndn::Block &block)
 
const ndn::Name & getName () const
 
DestinationsetName (const ndn::Name &name)
 
template<ndn::encoding::Tag TAG>
size_t wireEncode (ndn::EncodingImpl< TAG > &block) const
 
const ndn::Block & wireEncode () const
 
void wireDecode (const ndn::Block &wire)
 

Detailed Description

Data abstraction for Destination.

Destination := DESTINATION-TYPE TLV-LENGTH Name

See also
https://redmine.named-data.net/projects/nlsr/wiki/Routing_Table_DataSet

Definition at line 46 of file destination.hpp.

Constructor & Destructor Documentation

nlsr::tlv::Destination::Destination ( )
default

Here is the caller graph for this function:

nlsr::tlv::Destination::Destination ( const ndn::Block &  block)
explicit

Definition at line 38 of file destination.cpp.

Here is the call graph for this function:

Member Function Documentation

const ndn::Name& nlsr::tlv::Destination::getName ( ) const
inline

Definition at line 65 of file destination.hpp.

Here is the caller graph for this function:

Destination& nlsr::tlv::Destination::setName ( const ndn::Name &  name)
inline

Definition at line 71 of file destination.hpp.

Here is the call graph for this function:

void nlsr::tlv::Destination::wireDecode ( const ndn::Block &  wire)

Definition at line 78 of file destination.cpp.

Here is the caller graph for this function:

template<ndn::encoding::Tag TAG>
size_t nlsr::tlv::Destination::wireEncode ( ndn::EncodingImpl< TAG > &  block) const

Definition at line 45 of file destination.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const ndn::Block & nlsr::tlv::Destination::wireEncode ( ) const

Definition at line 60 of file destination.cpp.

Here is the caller graph for this function: