Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Functions
WSB_Element Class

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_ElementWSB_Element_GetChild (WSB_Element *self, const char *name)
 Gets the child of the specified WSB_Element object based on name. More...
 
WSB_EXPORT WSB_ElementWSB_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_ElementWSB_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...
 

Detailed Description

A typed data structure access facility.

Function Documentation

◆ WSB_Element_AsBoolean()

WSB_EXPORT WSB_Boolean WSB_Element_AsBoolean ( WSB_Element self)

Gets the element value of the specified WSB_Element object as a boolean.

◆ WSB_Element_AsFloat()

WSB_EXPORT double WSB_Element_AsFloat ( WSB_Element self)

Gets the element value of the specified WSB_Element object as a double.

◆ WSB_Element_AsInteger()

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_Element_AsString()

WSB_EXPORT const char* WSB_Element_AsString ( WSB_Element self)

Gets the element value of the specified WSB_Element object as a string.

◆ WSB_Element_Clone()

WSB_EXPORT WSB_Result WSB_Element_Clone ( WSB_Element self,
WSB_Element **  clone 
)

Clones the specified WSB_Element.

◆ WSB_Element_GetChild()

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_Element_GetChildAt()

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_Element_GetChildCount()

WSB_EXPORT WSB_Cardinal WSB_Element_GetChildCount ( WSB_Element self)

Gets the number of children of the specified WSB_Element object.

◆ WSB_Element_GetName()

WSB_EXPORT const char* WSB_Element_GetName ( WSB_Element self)

Gets the name of the specified WSB_Element object.

◆ WSB_Element_GetParent()

WSB_EXPORT WSB_Element* WSB_Element_GetParent ( WSB_Element self)

Gets the parent of the specified WSB_Element object.

◆ WSB_Element_GetType()

WSB_EXPORT WSB_ElementType WSB_Element_GetType ( WSB_Element self)

Gets the element type of the specified WSB_Element object.

◆ WSB_Element_Release()

WSB_EXPORT void WSB_Element_Release ( WSB_Element self)

Releases the specified WSB_Element object.

◆ WSB_Element_Serialize()

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.