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

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

Constructor & Destructor Documentation

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

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

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

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:

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

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

Here is the caller graph for this function:

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:

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

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

Here is the caller graph for this function:

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:

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:

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: