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

◆ Destination() [1/2]

nlsr::tlv::Destination::Destination ( )
default
Here is the caller graph for this function:

◆ Destination() [2/2]

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

◆ getName()

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:

◆ setName()

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:

◆ wireDecode()

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:

◆ wireEncode() [1/2]

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:

◆ wireEncode() [2/2]

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

Definition at line 60 of file destination.cpp.

Here is the caller graph for this function: