12 #ifndef __CVEX_ValueList__
13 #define __CVEX_ValueList__
30 template <VEX_Precision PREC>
39 int entries()
const {
return myValues.entries(); }
40 int size()
const {
return myValues.size(); }
68 void *
data,
int array_size,
101 void clearValue(
int index);
109 template <VEX_Precision ALLPREC>
CVEX_ValueT< PREC > * operator[](int i)
CVEX_ValueT< PREC > * getValue(int i)
const CVEX_ValueT< PREC > * getValue(const UT_StringRef &name) const
Get a value by name. Returns NULL if there's no value by that name.
__hostdev__ float getValue(uint32_t i) const
List of input or output values for a CVEX_Context.
CVEX_ValueT< PREC > * operator()(const UT_StringRef &name, CVEX_Type type)
A class representing a VEX value.
GLuint const GLchar * name
GLsizei const GLchar *const * strings
CVEX_Type
The CVEX_Type enum defines the VEX types available to CVEX.
CVEX_ValueT< PREC > * getValue(const UT_StringRef &name)
const CVEX_ValueT< PREC > * getValue(int i) const
Get a value by index.
typename VEX_PrecisionResolver< P >::int_type VEXint
const CVEX_ValueT< PREC > * operator[](int i) const
CVEX_ValueT< PREC > * operator()(int i)
CVEX_EXTERN_TEMPLATE(CVEX_ValueListT< VEX_32 >)