Scythe-1.0.3
Public Member Functions | Protected Member Functions
scythe::DataBlock< T_type > Class Template Reference

Handles Matrix data internals. More...

#include <scythestat/datablock.h>

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

List of all members.

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 ()

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.


The documentation for this class was generated from the following file: