HDK
|
List of input or output values for a CVEX_Context. More...
#include <CVEX_ValueList.h>
Friends | |
template<VEX_Precision ALLPREC> | |
class | CVEX_ContextT |
Additional Inherited Members | |
![]() | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
List of input or output values for a CVEX_Context.
This class maintains a list of the input and output parameters for a CVEX context.
Both input and output variables are associated with parameters on the VEX function being run. Output variables are those flagged with the export
keyword.
Definition at line 31 of file CVEX_ValueList.h.
CVEX_ValueListT< PREC >::CVEX_ValueListT | ( | ) |
CVEX_ValueListT< PREC >::~CVEX_ValueListT | ( | ) |
bool CVEX_ValueListT< PREC >::addValue | ( | const UT_StringHolder & | name, |
CVEX_Type | type, | ||
bool | varying | ||
) |
Add a value by name type and varying flag. This fails if:
bool CVEX_ValueListT< PREC >::addValue | ( | const UT_StringHolder & | name, |
CVEX_Type | type, | ||
void * | data, | ||
int | array_size, | ||
bool | isconstant | ||
) |
Add a value by name, type and provide data.
bool CVEX_ValueListT< PREC >::addValue | ( | const UT_StringHolder & | name, |
CVEX_StringArray & | strings, | ||
bool | isconstant | ||
) |
Add a string value (with data)
bool CVEX_ValueListT< PREC >::addValue | ( | const UT_StringHolder & | name, |
CVEX_DictArray & | strings, | ||
bool | isconstant | ||
) |
bool CVEX_ValueListT< PREC >::addValue | ( | const UT_StringHolder & | name, |
UT_PackedArrayOfArrays< VEXint< PREC >> & | intdata, | ||
bool | isconstant | ||
) |
Add an array of integer value (with data)
|
inline |
Returns the number of values in the list
Definition at line 39 of file CVEX_ValueList.h.
|
inline |
|
inline |
Definition at line 45 of file CVEX_ValueList.h.
const CVEX_ValueT<PREC>* CVEX_ValueListT< PREC >::getValue | ( | const UT_StringRef & | name, |
CVEX_Type | type | ||
) | const |
Get a value by name and type. Returns NULL if there's no value by that name and type.
CVEX_ValueT<PREC>* CVEX_ValueListT< PREC >::getValue | ( | const UT_StringRef & | name, |
CVEX_Type | type | ||
) |
|
inline |
Get a value by name. Returns NULL if there's no value by that name.
Definition at line 53 of file CVEX_ValueList.h.
|
inline |
Definition at line 55 of file CVEX_ValueList.h.
|
inline |
Convenience operators
Definition at line 91 of file CVEX_ValueList.h.
|
inline |
Convenience operators
Definition at line 92 of file CVEX_ValueList.h.
|
inline |
Convenience operators
Definition at line 88 of file CVEX_ValueList.h.
|
inline |
Convenience operators
Definition at line 89 of file CVEX_ValueList.h.
|
inline |
Returns the number of values in the list
Definition at line 40 of file CVEX_ValueList.h.
Definition at line 110 of file CVEX_ValueList.h.