#include <block.h>
Base class for Block.
Public Member Functions | |
BlockBase (T *ptr, Int size, Int stride) | |
Int | GetCount () const |
void | SetCount (Int cnt) |
Protected Member Functions | |
Int | PrivateGetStride () const |
Protected Attributes | |
T * | _ptr |
Int | _size |
Int | _stride |
Int GetCount | ( | ) | const |
Returns the number of elements of this block.
void SetCount | ( | Int | cnt | ) |
Sets the number of elements of this block.
[in] | cnt | Number of elements of this block. |
|
protected |
|
protected |
|
protected |
|
protected |