Wasabi ExpressPlay SDK for Embedded Systems
1.10
|
A typed data structure access facility. More...
Functions | |
WSB_EXPORT void | WSB_Element_Release (WSB_Element *self) |
Releases the specified WSB_Element object. More... | |
WSB_EXPORT WSB_Element * | WSB_Element_GetChild (WSB_Element *self, const char *name) |
Gets the child of the specified WSB_Element object based on name. More... | |
WSB_EXPORT WSB_Element * | WSB_Element_GetChildAt (WSB_Element *self, WSB_Ordinal indx) |
Gets the child of the specified WSB_Element object based on index. More... | |
WSB_EXPORT WSB_Cardinal | WSB_Element_GetChildCount (WSB_Element *self) |
Gets the number of children of the specified WSB_Element object. More... | |
WSB_EXPORT WSB_Element * | WSB_Element_GetParent (WSB_Element *self) |
Gets the parent of the specified WSB_Element object. More... | |
WSB_EXPORT const char * | WSB_Element_GetName (WSB_Element *self) |
Gets the name of the specified WSB_Element object. More... | |
WSB_EXPORT WSB_ElementType | WSB_Element_GetType (WSB_Element *self) |
Gets the element type of the specified WSB_Element object. More... | |
WSB_EXPORT WSB_Int64 | WSB_Element_AsInteger (WSB_Element *self) |
Gets the element value of the specified WSB_Element object as a 64 bits integer. More... | |
WSB_EXPORT double | WSB_Element_AsFloat (WSB_Element *self) |
Gets the element value of the specified WSB_Element object as a double. More... | |
WSB_EXPORT WSB_Boolean | WSB_Element_AsBoolean (WSB_Element *self) |
Gets the element value of the specified WSB_Element object as a boolean. More... | |
WSB_EXPORT const char * | WSB_Element_AsString (WSB_Element *self) |
Gets the element value of the specified WSB_Element object as a string. More... | |
WSB_EXPORT WSB_Result | WSB_Element_Serialize (WSB_Element *self, char *buffer, unsigned int *buffer_size) |
Serializes the specified WSB_Element into the supplied buffer. More... | |
WSB_EXPORT WSB_Result | WSB_Element_Clone (WSB_Element *self, WSB_Element **clone) |
Clones the specified WSB_Element. More... | |
A typed data structure access facility.
WSB_EXPORT WSB_Boolean WSB_Element_AsBoolean | ( | WSB_Element * | self | ) |
Gets the element value of the specified WSB_Element object as a boolean.
WSB_EXPORT double WSB_Element_AsFloat | ( | WSB_Element * | self | ) |
Gets the element value of the specified WSB_Element object as a double.
WSB_EXPORT WSB_Int64 WSB_Element_AsInteger | ( | WSB_Element * | self | ) |
Gets the element value of the specified WSB_Element object as a 64 bits integer.
WSB_EXPORT const char* WSB_Element_AsString | ( | WSB_Element * | self | ) |
Gets the element value of the specified WSB_Element object as a string.
WSB_EXPORT WSB_Result WSB_Element_Clone | ( | WSB_Element * | self, |
WSB_Element ** | clone | ||
) |
Clones the specified WSB_Element.
WSB_EXPORT WSB_Element* WSB_Element_GetChild | ( | WSB_Element * | self, |
const char * | name | ||
) |
Gets the child of the specified WSB_Element object based on name.
WSB_EXPORT WSB_Element* WSB_Element_GetChildAt | ( | WSB_Element * | self, |
WSB_Ordinal | indx | ||
) |
Gets the child of the specified WSB_Element object based on index.
WSB_EXPORT WSB_Cardinal WSB_Element_GetChildCount | ( | WSB_Element * | self | ) |
Gets the number of children of the specified WSB_Element object.
WSB_EXPORT const char* WSB_Element_GetName | ( | WSB_Element * | self | ) |
Gets the name of the specified WSB_Element object.
WSB_EXPORT WSB_Element* WSB_Element_GetParent | ( | WSB_Element * | self | ) |
Gets the parent of the specified WSB_Element object.
WSB_EXPORT WSB_ElementType WSB_Element_GetType | ( | WSB_Element * | self | ) |
Gets the element type of the specified WSB_Element object.
WSB_EXPORT void WSB_Element_Release | ( | WSB_Element * | self | ) |
Releases the specified WSB_Element object.
WSB_EXPORT WSB_Result WSB_Element_Serialize | ( | WSB_Element * | self, |
char * | buffer, | ||
unsigned int * | buffer_size | ||
) |
Serializes the specified WSB_Element into the supplied buffer.