

Public Types | |
| typedef T | storage_type |
| typedef ShHostType< T >::type | host_type |
| typedef ShMemType< T >::type | mem_type |
|
typedef ShDataVariant< T, SH_HOST > | VariantType |
| typedef ShPointer< VariantType > | VariantTypePtr |
| typedef ShPointer< const VariantType > | VariantTypeCPtr |
Public Member Functions | |
| ShGeneric (const ShVariableNodePtr &node, ShSwizzle swizzle, bool neg) | |
| ~ShGeneric () | |
| ShGeneric & | operator= (const ShGeneric< 1, T > &other) |
| template<typename T2> | |
| ShGeneric & | operator= (const ShGeneric< 1, T2 > &other) |
| ShGeneric & | operator= (host_type) |
| ShGeneric & | operator= (const ShProgram &other) |
| ShGeneric & | operator++ () |
| ShGeneric & | operator-- () |
| template<typename T2> | |
| ShGeneric & | operator+= (const ShGeneric< 1, T2 > &right) |
| template<typename T2> | |
| ShGeneric & | operator-= (const ShGeneric< 1, T2 > &right) |
| template<typename T2> | |
| ShGeneric & | operator *= (const ShGeneric< 1, T2 > &right) |
| template<typename T2> | |
| ShGeneric & | operator/= (const ShGeneric< 1, T2 > &right) |
| template<typename T2> | |
| ShGeneric & | operator%= (const ShGeneric< 1, T2 > &right) |
| ShGeneric & | operator+= (host_type) |
| ShGeneric & | operator-= (host_type) |
| ShGeneric & | operator *= (host_type) |
| ShGeneric & | operator/= (host_type) |
| ShGeneric & | operator%= (host_type) |
| ShGeneric | operator- () const |
| ShGeneric | operator() () const |
| Identity swizzle. | |
| ShGeneric< 1, T > | operator() (int) const |
| ShGeneric< 1, T > | operator[] (int) const |
| ShGeneric< 2, T > | operator() (int, int) const |
| ShGeneric< 3, T > | operator() (int, int, int) const |
| ShGeneric< 4, T > | operator() (int, int, int, int) const |
| void | range (host_type low, host_type high) |
| Range Metadata. | |
| VariantType | lowBound () const |
| host_type | lowBound (int index) const |
| VariantType | highBound () const |
| host_type | highBound (int index) const |
| template<int N2> | |
| ShGeneric< N2, T > | swiz (int indices[]) const |
| void | getValues (host_type dest[]) const |
| Get the values of this variable, with swizzling taken into account. | |
| host_type | getValue (int index) const |
| void | setValue (int index, const host_type &value) |
| Set the values of this variable, using the swizzle as a writemask. | |
| void | setValues (const host_type values[]) |
| template<typename T2> | |
| ShGeneric (const ShGeneric< 1, T2 > &other) | |
Static Public Attributes | |
| static const ShValueType | value_type |
| static const int | typesize |
Protected Member Functions | |
| ShGeneric (const ShVariableNodePtr &node) | |
Definition at line 174 of file ShGeneric.hpp.
1.4.5