scythe::DataBlock< T_type > Class Template Reference

#include <scythestat/datablock.h>

Inheritance diagram for scythe::DataBlock< T_type >:

Inheritance graph
[legend]
Collaboration diagram for scythe::DataBlock< T_type >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename T_type>
class scythe::DataBlock< T_type >

Handles Matrix data internals.

Handles data allocation, reallocation, and deletion of blocks of elements; the actual data Matrix objects point to. Keeps a reference count.


Public Member Functions

 DataBlock (uint size)
 DataBlock (const DataBlock< T_type > &b)
uint addReference ()
uint removeReference ()
uint references ()
T_type * data ()
const T_type * data () const
uint size () const
void resize (uint newsize)

Protected Member Functions

void allocate (uint size)
void deallocate ()
void grow (uint newsize)
void shrink ()


The documentation for this class was generated from the following file:
Generated on Wed Aug 15 14:53:49 2007 for Scythe-1.0.2 by  doxygen 1.4.7