#include <c4d_baseeffectordata.h>
Template array class used for arrays filled by MoData .
公共成员函数 |
|
| MDArray () | |
| MDArray ( TYPE *array_pointer, Int32 array_count, TYPE default_value) | |
| ~MDArray (void) | |
| void | Fill (const TYPE &default_value) |
| operator TYPE * () | |
| operator const TYPE * () const | |
| TYPE * | GetPointer (void) |
| const TYPE * | GetPointer (void) const |
| Bool | operator! () const |
| TYPE & | operator[] ( Int32 i) |
| const TYPE & | operator[] ( Int32 i) const |
| TYPE & | operator[] ( Int64 i) |
| const TYPE & | operator[] ( Int64 i) const |
Private Attributes |
|
| TYPE * | ptr |
| TYPE | dv |
| Int | count |
| MDArray | ( | ) |
Default constructor.
| MDArray | ( | TYPE * | array_pointer , |
| Int32 | array_count , | ||
| TYPE | default_value | ||
| ) |
Constructor with the array pointer and the default value.
| [in] | array_pointer | The array pointer. |
| [in] | array_count | The number of elements in array_pointer . |
| [in] | default_value | The default value. |
| ~ MDArray | ( | void | ) |
Default destructor.
| void Fill | ( | const TYPE & | default_value | ) |
Fills the elements of the array with default_value .
| [in] | default_value | The value to fill with. |
| operator TYPE * | ( | ) |
Conversion operator.
| operator const TYPE * | ( | ) | const |
| TYPE * GetPointer | ( | void | ) |
Gets the array pointer.
| const TYPE * GetPointer | ( | void | ) | const |
Gets the const array pointer.
| Bool operator! | ( | ) | const |
Checks if the array contains any elements.
| TYPE & operator[] | ( | Int32 | i | ) |
Array access operator.
| [in] | i | The element index in the array. |
| const TYPE & operator[] | ( | Int32 | i | ) | const |
Const array access operator.
| [in] | i | The element index in the array. |
| TYPE & operator[] | ( | Int64 | i | ) |
Array access operator.
| [in] | i | The element index in the array. |
| const TYPE & operator[] | ( | Int64 | i | ) | const |
Const array access operator.
| [in] | i | The element index in the array. |
|
private |
|
mutable private |
|
private |