BlockBase< T, STRIDED > Class Template Reference Data Structures
#include <block.h>
Base class for Block .
公共成员函数 |
|
| 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 |
| BlockBase | ( | 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 |
| T* _ptr | protected |
|
protected |
|
protected |