21 #ifndef _SHI_PROPERTIES_H_ 22 #define _SHI_PROPERTIES_H_ 35 #if defined(__cplusplus) 127 #if defined(__cplusplus) #define SHI_PUBLIC_API
Definition: ShiTypes.h:52
SHI_PUBLIC_API SHI_Result SHI_Properties_GetProperty(SHI_Properties *self, const char *name, SHI_DataType type, SHI_Data **property)
Gets the value of a property.
Union of different possible types of values encapsulated by a SHI_Data object.
Definition: ShiData.h:90
SHI_DataType
Possible types of data in the value encapsulated by a SHI_Data object.
Definition: ShiData.h:37
SHI_UInt32 SHI_Cardinal
An unsigned integer used to represent a quantity that can be counted (such as a number of elements in...
Definition: ShiTypes.h:112
SHI_PUBLIC_API SHI_Result SHI_Properties_GetPropertyNames(SHI_Properties *self, SHI_Data **names)
Gets an array containing the names of all the properties in the list.
struct SHI_Properties SHI_Properties
A SHI_Properties object represents a list of name/value pairs.
Definition: ShiProperties.h:51
struct SHI_Data SHI_Data
A SHI_Data object represents a typed data object.
Definition: ShiData.h:116
SHI_PUBLIC_API SHI_Cardinal SHI_Properties_GetPropertyCount(SHI_Properties *self)
Gets the number of properties in the list.
int SHI_Result
Signed integer value representing a function or method result (return value).
Definition: ShiTypes.h:74
SHI_PUBLIC_API SHI_Result SHI_Properties_SetProperty(SHI_Properties *self, const char *name, SHI_DataType type, const SHI_DataValue *value)
Sets the value of a property.