#include <StrMod/DynamicBuffer.h>
Inheritance diagram for strmod::strmod::DynamicBuffer:

Public Methods | |
| DynamicBuffer (unsigned int len) throw (std::bad_alloc) | |
| DynamicBuffer (const void *data, unsigned int len) throw (std::bad_alloc) | |
| virtual int | AreYouA (const lcore::ClassIdent &cid) const |
| Asks if a class is of a particular type, or publicly derived from that type. | |
| virtual void | resize (unsigned int newsize) throw (std::bad_alloc) |
| Change the size of the chunk to newsize. | |
Static Public Attributes | |
| const STR_ClassIdent | identifier |
| Globally unique identifier for this class. | |
Protected Methods | |
| virtual const lcore::ClassIdent * | i_GetIdent () const |
| Returns the class identifier for the class the object actually is. | |
Definition at line 38 of file DynamicBuffer.h.
|
|
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::BufferChunk. Definition at line 58 of file DynamicBuffer.h. |
|
|
Returns the class identifier for the class the object actually is. Should always be overridden in any class that has a static identifier member. Reimplemented from strmod::strmod::BufferChunk. Definition at line 53 of file DynamicBuffer.h. |
|
|
Change the size of the chunk to newsize. Throws bad_alloc if the allocation fails, just like operator new. Implements strmod::strmod::BufferChunk. Definition at line 60 of file DynamicBuffer.cxx. |
|
|
Globally unique identifier for this class. Every class that might need to be identified should have a public static const identifier object in it. Reimplemented from strmod::strmod::BufferChunk. |
1.3-rc1