NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::ndn::wire::CcnbParser::Udata Class Reference

Class to represent UDATA ccnb-encoded node. More...

#include <udata.h>

Inheritance diagram for ns3::ndn::wire::CcnbParser::Udata:
Collaboration diagram for ns3::ndn::wire::CcnbParser::Udata:

Public Member Functions

 Udata (Buffer::Iterator &start, uint32_t length)
 Constructor that actually parsed ccnb-encoded UDATA block. More...
virtual void accept (VoidNoArguVisitor &v)
 Accept visitor void(*)()
virtual void accept (VoidVisitor &v, boost::any param)
 Accept visitor void(*)(boost::any)
virtual boost::any accept (NoArguVisitor &v)
 Accept visitor boost::any(*)()
virtual boost::any accept (Visitor &v, boost::any param)
 Accept visitor boost::any(*)(boost::any)

Public Attributes

std::string m_udata
 field holding a parsed UDATA value of the block

Additional Inherited Members

- Static Public Member Functions inherited from ns3::ndn::wire::CcnbParser::Block
static Ptr< BlockParseBlock (Buffer::Iterator &start, bool dontParseBlock=false)
 Parsing stream (recursively) and creating a parsed BLOCK object. More...

Detailed Description

Class to represent UDATA ccnb-encoded node.

Definition at line 36 of file udata.h.

Constructor & Destructor Documentation

ns3::ndn::wire::CcnbParser::Udata::Udata ( Buffer::Iterator &  start,
uint32_t  length 

Constructor that actually parsed ccnb-encoded UDATA block.

startbuffer iterator pointing to the first byte of string in ccnb-encoded block
lengthlength of data in UDATA block (extracted from the value field)
See also

Definition at line 28 of file udata.cc.

The documentation for this class was generated from the following files: