Class to represent DATTR ccnb-encoded node. More...
#include <dattr.h>
Public Member Functions | |
Dattr (Buffer::Iterator &start, uint32_t dattr) | |
Constructor that actually parsed ccnb-encoded DATTR 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 | |
uint32_t | m_dattr |
Dictionary code of DATTR. | |
Public Attributes inherited from ns3::ndn::wire::CcnbParser::BaseAttr | |
Ptr< Udata > | m_value |
Value of the attribute. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::ndn::wire::CcnbParser::Block | |
static Ptr< Block > | ParseBlock (Buffer::Iterator &start, bool dontParseBlock=false) |
Parsing stream (recursively) and creating a parsed BLOCK object. More... | |
Class to represent DATTR ccnb-encoded node.
ns3::ndn::wire::CcnbParser::Dattr::Dattr | ( | Buffer::Iterator & | start, |
uint32_t | dattr | ||
) |
Constructor that actually parsed ccnb-encoded DATTR block.
start | buffer iterator pointing to the first byte of attribute value (UDATA block) |
dattr | dictionary code of DATTR (extracted from the value field) |