HDK
|
#include <defaultArray.h>
Public Types | |
using | value_type = T |
using | array_type = UT_Array< T > |
Public Member Functions | |
GusdDefaultArray () | |
GusdDefaultArray (const T &defaultVal) | |
exint | size () const |
void | Clear () |
bool | IsConstant () const |
bool | IsVarying () const |
T & | GetDefault () |
const T & | GetDefault () const |
void | SetDefault (const T &val) |
void | SetConstant (const T &val) |
Turn this into a constant array, with value val. More... | |
T & | operator() (exint i) |
const T & | operator() (exint i) const |
array_type & | GetArray () |
const array_type & | GetArray () const |
Simple array wrapper, providing an array that may either hold a single constant value, or an array of values.
Definition at line 38 of file defaultArray.h.
using GusdDefaultArray< T >::array_type = UT_Array<T> |
Definition at line 42 of file defaultArray.h.
using GusdDefaultArray< T >::value_type = T |
Definition at line 41 of file defaultArray.h.
|
inline |
Definition at line 44 of file defaultArray.h.
|
inline |
Definition at line 50 of file defaultArray.h.
|
inline |
Definition at line 56 of file defaultArray.h.
|
inline |
Definition at line 81 of file defaultArray.h.
|
inline |
Definition at line 83 of file defaultArray.h.
|
inline |
Definition at line 63 of file defaultArray.h.
|
inline |
Definition at line 64 of file defaultArray.h.
|
inline |
Definition at line 59 of file defaultArray.h.
|
inline |
Definition at line 61 of file defaultArray.h.
|
inline |
Definition at line 75 of file defaultArray.h.
|
inline |
Definition at line 78 of file defaultArray.h.
|
inline |
Turn this into a constant array, with value val.
Definition at line 69 of file defaultArray.h.
|
inline |
Definition at line 66 of file defaultArray.h.
|
inline |
Definition at line 53 of file defaultArray.h.