SCIGenericType Struct Reference

#include <SCIGenericType.h>

Data Fields

SCIDataType type
 SCIDataType information about type. More...
 
union {
   char   charData
 char data. More...
 
   short   int16Data
 short data. More...
 
   int   int32Data
 int data. More...
 
   long long   int64Data
 long long data. More...
 
   float   floatData
 float data. More...
 
   double   doubleData
 double data or NSTimeInterval in seconds since 1970. More...
 
   void *   voidPtr
 contains pointer to NSArray if type = SCIDataType_Array, or other NSObject if type = SCIDataType_Object More...
 
   char *   charPtr
 pointer to char array. More...
 
   short *   int16Ptr
 pointer to short array. More...
 
   int *   int32Ptr
 pointer to int array. More...
 
   long long *   int64Ptr
 pointer to long long array. More...
 
   float *   floatPtr
 pointer to float array. More...
 
   double *   doublePtr
 pointer to double array. More...
 
}; 
 

Field Documentation

◆ @1

union { ... }

◆ charData

char charData

char data.

Is valid if type = SCIDataType_Byte

◆ charPtr

char* charPtr

pointer to char array.

Is valid if type = SCIDataType_CharPtr

◆ doubleData

double doubleData

double data or NSTimeInterval in seconds since 1970.

Is valid if type = SCIDataType_Double or type = SCIDataType_DateTime

◆ doublePtr

double* doublePtr

pointer to double array.

Is valid if type = SCIDataType_DoublePtr

◆ floatData

float floatData

float data.

Is valid if type = SCIDataType_Float

◆ floatPtr

float* floatPtr

pointer to float array.

Is valid if type = SCIDataType_FloatPtr

◆ int16Data

short int16Data

short data.

Is valid if type = SCIDataType_Int16

◆ int16Ptr

short* int16Ptr

pointer to short array.

Is valid if type = SCIDataType_Int16Ptr

◆ int32Data

int int32Data

int data.

Is valid if type = SCIDataType_Int32

◆ int32Ptr

int* int32Ptr

pointer to int array.

Is valid if type = SCIDataType_Int32Ptr

◆ int64Data

long long int64Data

long long data.

Is valid if type = SCIDataType_Int64

◆ int64Ptr

long long* int64Ptr

pointer to long long array.

Is valid if type = SCIDataType_Int64Ptr

◆ type

SCIDataType information about type.

◆ voidPtr

void* voidPtr

contains pointer to NSArray if type = SCIDataType_Array, or other NSObject if type = SCIDataType_Object


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