Base class for ccnb-encoded node. More...
#include <block.h>
Public Member Functions | |
virtual void | accept (VoidNoArguVisitor &v)=0 |
Accept visitor void(*)() | |
virtual void | accept (VoidVisitor &v, boost::any param)=0 |
Accept visitor void(*)(boost::any) | |
virtual boost::any | accept (NoArguVisitor &v)=0 |
Accept visitor boost::any(*)() | |
virtual boost::any | accept (Visitor &v, boost::any param)=0 |
Accept visitor boost::any(*)(boost::any) | |
Static Public Member Functions | |
static Ptr< Block > | ParseBlock (Buffer::Iterator &start, bool dontParseBlock=false) |
Parsing stream (recursively) and creating a parsed BLOCK object. More... | |
Base class for ccnb-encoded node.
This class provides a static method to create a new block (recursively) from the stream
|
static |
Parsing stream (recursively) and creating a parsed BLOCK object.
start | buffer iterator pointing to the start position for parsing |
dontParseBlock | parameter to indicate whether the block should not be parsed, just length of the block should be consumed (e.g., in case of "cheating" with content of Data packets) |
Huh. After fighting with NS-3, it became apparent that Create<T>(...) construct doesn't work with references. Just simply doesn't work. wtf?