Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
DataBlock< DATA_TYPE > Class Template Reference
Inheritance diagram for DataBlock< DATA_TYPE >:
DataArray

Public Member Functions

void allocate (Memory *allocator, INodeUint32 count)
 
void reallocate (Memory *allocator, INodeUint32 count)
 
void destroy ()
 
bool is_null () const
 
bool is_allocated () const
 
INodeUint32 get_count () const
 
INodeUint64 get_memory_usage () const
 
const DATA_TYPE & operator[] (INodeUint32 i) const
 
DATA_TYPE & operator[] (INodeUint32 i)
 
DATA_TYPE * get_data ()
 
const DATA_TYPE * get_data () const
 
void set_data_count (INodeUint32 cnt)