#include <memblock.h>


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 * | data_ |
Private Member Functions | |
| void | operator= (const MemoryBlockReference< T_type > &) |
Private Attributes | |
| MemoryBlock< T_type > * | block_ |
Static Private Attributes | |
| static NullMemoryBlock< T_type > | nullBlock_ |
| typedef P_type MemoryBlockReference< P_type >::T_type |
| MemoryBlockReference< P_type >::MemoryBlockReference | ( | ) | [inline] |
| MemoryBlockReference< P_type >::MemoryBlockReference | ( | MemoryBlockReference< T_type > & | ref, | |
| size_t | offset = 0 | |||
| ) | [inline] |
| MemoryBlockReference< P_type >::MemoryBlockReference | ( | size_t | length, | |
| T_type * | data, | |||
| preexistingMemoryPolicy | deletionPolicy | |||
| ) | [inline] |
| MemoryBlockReference< P_type >::MemoryBlockReference | ( | size_t | items | ) | [inline] |
| MemoryBlockReference< P_type >::~MemoryBlockReference | ( | ) | [inline] |
| void MemoryBlockReference< P_type >::blockRemoveReference | ( | ) | [inline] |
| void MemoryBlockReference< P_type >::changeBlock | ( | MemoryBlockReference< T_type > & | ref, | |
| size_t | offset = 0 | |||
| ) | [inline, protected] |
| void MemoryBlockReference< P_type >::changeToNullBlock | ( | ) | [inline, protected] |
| void MemoryBlockReference< P_type >::newBlock | ( | size_t | items | ) | [inline, protected] |
Referenced by Matrix< P_numtype, P_structure >::Matrix(), and Matrix< P_numtype, P_structure >::resize().
| int MemoryBlockReference< P_type >::numReferences | ( | ) | const [inline] |
| void MemoryBlockReference< P_type >::operator= | ( | const MemoryBlockReference< T_type > & | ) | [inline, private] |
Reimplemented in Array< P_numtype, N_rank >, Array< P_numtype, N_rank >, Matrix< P_numtype, P_structure >, and Vector< P_numtype >.
MemoryBlock<T_type>* MemoryBlockReference< P_type >::block_ [private] |
T_type* MemoryBlockReference< P_type >::data_ [protected] |
NullMemoryBlock<T_type> MemoryBlockReference< P_type >::nullBlock_ [static, private] |
1.6.1