Class to represent TAG ccnb-encoded node. More...
#include <tag.h>
Public Member Functions | |
Tag (Buffer::Iterator &start, uint32_t length) | |
Constructor that actually parsed ccnb-encoded TAG 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_tag |
Name of TAG block. | |
![]() | |
std::list< Ptr< Block > > | m_attrs |
List of attributes, associated with this tag. | |
std::list< Ptr< Block > > | m_nestedTags |
List of nested tags. | |
Additional Inherited Members | |
![]() | |
static Ptr< Block > | ParseBlock (Buffer::Iterator &start, bool dontParseBlock=false) |
Parsing stream (recursively) and creating a parsed BLOCK object. More... | |
![]() | |
BaseTag () | |
Default constructor. | |
Class to represent TAG ccnb-encoded node.
Tag::Tag | ( | Buffer::Iterator & | start, |
uint32_t | length | ||
) |
Constructor that actually parsed ccnb-encoded TAG block.
start | buffer iterator pointing to the first byte of TAG block name |
length | length of TAG name - 1 byte (i.e., minimum tag name is 1 byte) |