Inheritance diagram for strmod::strmod::StaticBuffer:
|StaticBuffer (const void *buf, size_t buflen)|
|Construct a StaticBuffer pointing at the given buffer area. |
|Doesn't do a thing because it doesn't own the storage it's pointing at.|
|virtual int||AreYouA (const lcore::ClassIdent &cid) const|
|Asks if a class is of a particular type, or publicly derived from that type. |
|virtual unsigned int||Length () const|
|Number of octets this chunk takes up. May be deprecated.|
|const void *||getVoidP ()|
|Get a void pointer to the memory pointed at by this chunk.|
|const U1Byte *||getCharP ()|
|Get a possibly more convenient character pointer instead.|
Static Public Attributes
|A unique identifier for this class.|
|virtual const lcore::ClassIdent *||i_GetIdent () const|
|See class Protocol.|
|virtual void||acceptVisitor (ChunkVisitor &visitor) throw (ChunkVisitor::halt_visitation)|
|Accept a ChunkVisitor, and maybe lead it through your children.|
Oftentimes, these will be things like string constants and such.
Definition at line 41 of file StaticBuffer.h.
Construct a StaticBuffer pointing at the given buffer area.
Asks if a class is of a particular type, or publicly derived from that type.
Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.
Reimplemented from strmod::strmod::StrChunk.