TinyVariant Struct Reference

Holds variants for CdotXSIParam objects. More...

#include <SIBCUtil.h>

List of all members.

Public Attributes

SI_Int  variantType
SI_Int  tweakType
SI_Int  numElems
union {
   SI_Bool   boolVal
   SI_Byte   bVal
   SI_UByte   ubVal
   SI_Short   sVal
   SI_UShort   usVal
   SI_Int   nVal
   SI_UInt   unVal
   SI_Float   fVal
   SI_Double   dVal
   SI_Long   lVal
   SI_ULong   ulVal
   SI_Bool *   p_boolVal
   SI_Byte *   p_bVal
   SI_UByte *   p_ubVal
   SI_Short *   p_sVal
   SI_UShort *   p_usVal
   SI_Int *   p_nVal
   SI_UInt *   p_unVal
   SI_Float *   p_fVal
   SI_Double *   p_dVal
   SI_Long *   p_lVal
   SI_ULong *   p_ulVal
   char *   p_cVal
   char **   pp_cVal
   SI_Void *   p_voidVal
}; 


Detailed Description

Holds variants for CdotXSIParam objects.

This structure holds the type, number of elements, and the value of a CdotXSIParam object.


Member Data Documentation

SI_Int variantType

This is the type of the value contained within this structure. (See Variant Parameter types).

SI_Int tweakType

This is the tweaking type for the structure. (See Variant Parameter Tweak types).

SI_Int numElems

This is used to determine how many elements an array contains (pointer types are arrays).

SI_Bool boolVal

Used if TinyVariant::variantType is SI_VT_BOOL

SI_Byte bVal

Used if TinyVariant::variantType is SI_VT_BYTE

SI_UByte ubVal

Used if TinyVariant::variantType is SI_VT_UBYTE

SI_Short sVal

Used if TinyVariant::variantType is SI_VT_SHORT

SI_UShort usVal

Used if TinyVariant::variantType is SI_VT_USHORT

SI_Int nVal

Used if TinyVariant::variantType is SI_VT_INT

SI_UInt unVal

Used if TinyVariant::variantType is SI_VT_UINT

SI_Float fVal

Used if TinyVariant::variantType is SI_VT_FLOAT

SI_Double dVal

Used if TinyVariant::variantType is SI_VT_DOUBLE

SI_Long lVal

Used if TinyVariant::variantType is SI_VT_LONG

SI_ULong ulVal

Used if TinyVariant::variantType is SI_VT_ULONG

SI_Bool* p_boolVal

Used if TinyVariant::variantType is SI_VT_PBOOL

SI_Byte* p_bVal

Used if TinyVariant::variantType is SI_VT_PBYTE

SI_UByte* p_ubVal

Used if TinyVariant::variantType is SI_VT_PUBYTE

SI_Short* p_sVal

Used if TinyVariant::variantType is SI_VT_PSHORT

SI_UShort* p_usVal

Used if TinyVariant::variantType is SI_VT_PUSHORT

SI_Int* p_nVal

Used if TinyVariant::variantType is SI_VT_PINT

SI_UInt* p_unVal

Used if TinyVariant::variantType is SI_VT_PUINT

SI_Float* p_fVal

Used if TinyVariant::variantType is SI_VT_PFLOAT

SI_Double* p_dVal

Used if TinyVariant::variantType is SI_VT_PDOUBLE

SI_Long* p_lVal

Used if TinyVariant::variantType is SI_VT_PLONG

SI_ULong* p_ulVal

Used if TinyVariant::variantType is SI_VT_PULONG

char* p_cVal

Used if TinyVariant::variantType is SI_VT_PCHAR. Note: char is used instead of SI_Char, because SI_Char is platform dependent.

char** pp_cVal

Used if TinyVariant::variantType is SI_VT_PPCHAR. Note: char is used instead of SI_Char, because SI_Char is platform dependent.

SI_Void* p_voidVal

Used if TinyVariant::variantType is SI_VT_VOID.

union { ... }

This union contains entries corresponding to every possible variant data type. The method in which the parameter is accessed is dependent on TinyVariant::variantType.


The documentation for this struct was generated from the following file: