#include <memblock.h>
Inheritance diagram for MemoryBlockReference< P_type >:
Public Types | |
typedef P_type | T_type |
Public Member Functions | |
MemoryBlockReference () | |
MemoryBlockReference (MemoryBlockReference< T_type > &ref, size_t offset=0) | |
MemoryBlockReference (size_t length, T_type *data, preexistingMemoryPolicy deletionPolicy) | |
MemoryBlockReference (size_t items) | |
void | blockRemoveReference () |
~MemoryBlockReference () | |
int | numReferences () const |
Protected Member Functions | |
void | changeToNullBlock () |
void | changeBlock (MemoryBlockReference< T_type > &ref, size_t offset=0) |
void | newBlock (size_t items) |
Protected Attributes | |
T_type *restrict | data_ |
Private Member Functions | |
void | operator= (const MemoryBlockReference< T_type > &) |
Private Attributes | |
MemoryBlock< T_type > * | block_ |
Static Private Attributes | |
NullMemoryBlock< T_type > | nullBlock_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|