Wasabi ExpressPlay SDK for iOS
1.10
|
Generic Data Objects. More...
Go to the source code of this file.
Data Structures | |
struct | SHI_ValueArray |
Array of values. More... | |
struct | SHI_TypedObject |
Pointer to an object with a specific interface. More... | |
struct | SHI_TypedPointer |
Pointer to a typed data structure. More... | |
struct | SHI_DataAny |
Structure used solely to be the first entry in the SHI_DataValue union type in order to allow static initialization of SHI_DataValue variables, because ISO C only allows static initializers to initialize the first entry in a union. More... | |
union | SHI_DataValue |
Union of different possible types of values encapsulated by a SHI_Data object. More... | |
Typedefs | |
typedef union SHI_DataValue | SHI_DataValue |
typedef struct SHI_Data | SHI_Data |
A SHI_Data object represents a typed data object. More... | |
Enumerations | |
enum | SHI_DataType { SHI_DATA_TYPE_UNKNOWN, SHI_DATA_TYPE_INTEGER, SHI_DATA_TYPE_STRING, SHI_DATA_TYPE_BOOLEAN, SHI_DATA_TYPE_BYTE_ARRAY, SHI_DATA_TYPE_ARRAY, SHI_DATA_TYPE_OBJECT, SHI_DATA_TYPE_POINTER } |
Possible types of data in the value encapsulated by a SHI_Data object. More... | |
Functions | |
SHI_PUBLIC_API SHI_Result | SHI_Data_Release (SHI_Data *self) |
Releases this data object. More... | |
SHI_PUBLIC_API SHI_DataType | SHI_Data_GetType (SHI_Data *self) |
Gets the type of this data object's value. More... | |
SHI_PUBLIC_API const SHI_DataValue * | SHI_Data_GetValue (SHI_Data *self) |
Gets a pointer to this data object's value. More... | |
Generic Data Objects.
typedef union SHI_DataValue SHI_DataValue |
enum SHI_DataType |
Possible types of data in the value encapsulated by a SHI_Data object.
Enumerator | |
---|---|
SHI_DATA_TYPE_UNKNOWN |
Used as a wild card (type not specified) |
SHI_DATA_TYPE_INTEGER |
The value is a SHI_Int32. |
SHI_DATA_TYPE_STRING |
The value is a string. |
SHI_DATA_TYPE_BOOLEAN |
The value is a SHI_Boolean. |
SHI_DATA_TYPE_BYTE_ARRAY |
The value is a SHI_ByteArray. |
SHI_DATA_TYPE_ARRAY |
The value is a SHI_ValueArray. |
SHI_DATA_TYPE_OBJECT |
The value is a SHI_TypedObject. |
SHI_DATA_TYPE_POINTER |
The value is a SHI_TypedPointer. |