nlsr::tlv::RoutingTableStatus Class Reference

Data abstraction for routing table status. More...

#include <routing-table-status.hpp>

Data Structures

class  Error
 

Public Types

typedef std::list< RoutingTableRTList
 

Public Member Functions

 RoutingTableStatus ()
 
 RoutingTableStatus (const ndn::Block &block)
 
const std::list< RoutingTable > & getRoutingtable () const
 
RoutingTableStatusaddRoutingTable (const RoutingTable &routeTable)
 
RoutingTableStatusclearRoutingTable ()
 
bool hasRoutingTable ()
 
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 routing table status.

RtStatus := RT-STATUS-TYPE TLV-LENGTH RouteTableInfo*

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

Definition at line 46 of file routing-table-status.hpp.

Member Typedef Documentation

◆ RTList

Definition at line 59 of file routing-table-status.hpp.

Constructor & Destructor Documentation

◆ RoutingTableStatus() [1/2]

nlsr::tlv::RoutingTableStatus::RoutingTableStatus ( )

Definition at line 36 of file routing-table-status.cpp.

◆ RoutingTableStatus() [2/2]

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

Definition at line 41 of file routing-table-status.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addRoutingTable()

RoutingTableStatus & nlsr::tlv::RoutingTableStatus::addRoutingTable ( const RoutingTable routeTable)

Definition at line 47 of file routing-table-status.cpp.

Here is the caller graph for this function:

◆ clearRoutingTable()

RoutingTableStatus & nlsr::tlv::RoutingTableStatus::clearRoutingTable ( )

Definition at line 56 of file routing-table-status.cpp.

Here is the caller graph for this function:

◆ getRoutingtable()

const std::list<RoutingTable>& nlsr::tlv::RoutingTableStatus::getRoutingtable ( ) const
inline

Definition at line 67 of file routing-table-status.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasRoutingTable()

bool nlsr::tlv::RoutingTableStatus::hasRoutingTable ( )

Definition at line 64 of file routing-table-status.cpp.

Here is the caller graph for this function:

◆ wireDecode()

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

Definition at line 107 of file routing-table-status.cpp.

Here is the caller graph for this function:

◆ wireEncode() [1/2]

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

Definition at line 71 of file routing-table-status.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::RoutingTableStatus::wireEncode ( ) const

Definition at line 89 of file routing-table-status.cpp.

Here is the caller graph for this function: