Base class for chunks of managed memory (any type possible).
More...
#include </home/werner/origo/vish/memcore/Chunk.hpp>
List of all members.
Public Member Functions
-
ChunkBase ()
- Constructor.
-
virtual RefPtr< ChunkBase,
ChunkBase > createNewChunk (size_t N, bool ReserveOnly=false) const =0
-
virtual const void * data_ptr () const =0
- Get a void pointer to the memory storage location.
-
void destructor_debug_info (long memsize, const type_info &)
-
virtual int element_size () const =0
- How many bytes occupies one element?
-
virtual size_t elements () const =0
- How many elements are stored here?
-
virtual const type_info & getBaseType () const =0
-
virtual const type_info & getType () const =0
- Return the type id for the elements stored here.
-
size_t memsize () const
- How much memory is occupied here at all?
-
virtual ~ChunkBase ()
- Destructor.
Static Public Member Functions
-
static size_t getTotalMemsize ()
Static Protected Attributes
-
static size_t TotalMemsize = 0
Detailed Description
Base class for chunks of managed memory (any type possible).
The documentation for this class was generated from the following files:
- memcore/Chunk.hpp
- memcore/Chunk.cpp