BlockBase< T, STRIDED > Class Template Reference Data Structures

#include <block.h>

详细描述

template<typename T, Bool STRIDED>
class maxon::BlockBase< T, STRIDED >

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

BlockBase ( T *  ptr ,
Int   size ,
Int   stride  
)

成员函数文档编制

◆  GetCount()

Int GetCount ( ) const

Returns the number of elements of this block.

返回
Number of elements of this block.

◆  SetCount()

void SetCount ( Int   cnt )

Sets the number of elements of this block.

参数
[in] cnt Number of elements of this block.

◆  PrivateGetStride()

Int PrivateGetStride ( ) const
protected

Member Data Documentation

◆  _ptr

T* _ptr protected

◆  _size

Int _size
protected

◆  _stride

Int _stride
protected