MemoryBlockReference< P_type > Class Template Reference

#include <memblock.h>

Inheritance diagram for MemoryBlockReference< P_type >:

Inheritance graph
[legend]
Collaboration diagram for MemoryBlockReference< P_type >:

Collaboration graph
[legend]
List of all members.

template<typename P_type>
class 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_typenullBlock_

Member Typedef Documentation

template<typename P_type>
typedef P_type MemoryBlockReference< P_type >::T_type
 


Constructor & Destructor Documentation

template<typename P_type>
MemoryBlockReference< P_type >::MemoryBlockReference  )  [inline]
 

template<typename P_type>
MemoryBlockReference< P_type >::MemoryBlockReference MemoryBlockReference< T_type > &  ref,
size_t  offset = 0
[inline]
 

template<typename P_type>
MemoryBlockReference< P_type >::MemoryBlockReference size_t  length,
T_type data,
preexistingMemoryPolicy  deletionPolicy
[inline]
 

template<typename P_type>
MemoryBlockReference< P_type >::MemoryBlockReference size_t  items  )  [inline, explicit]
 

template<typename P_type>
MemoryBlockReference< P_type >::~MemoryBlockReference  )  [inline]
 


Member Function Documentation

template<typename P_type>
void MemoryBlockReference< P_type >::blockRemoveReference  )  [inline]
 

template<typename P_type>
void MemoryBlockReference< P_type >::changeBlock MemoryBlockReference< T_type > &  ref,
size_t  offset = 0
[inline, protected]
 

template<typename P_type>
void MemoryBlockReference< P_type >::changeToNullBlock  )  [inline, protected]
 

template<typename P_type>
void MemoryBlockReference< P_type >::newBlock size_t  items  )  [inline, protected]
 

template<typename P_type>
int MemoryBlockReference< P_type >::numReferences  )  const [inline]
 

template<typename P_type>
void MemoryBlockReference< P_type >::operator= const MemoryBlockReference< T_type > &   )  [inline, private]
 


Member Data Documentation

template<typename P_type>
MemoryBlock<T_type>* MemoryBlockReference< P_type >::block_ [private]
 

template<typename P_type>
T_type* restrict MemoryBlockReference< P_type >::data_ [protected]
 

template<typename P_type>
NullMemoryBlock<T_type> MemoryBlockReference< P_type >::nullBlock_ [static, private]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 10:04:14 2007 for blitz by  doxygen 1.3.9.1