libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_property.h>
Data Fields | ||
GblBoxClass | base | |
GBL_RESULT(* | pFnInitOptionalArgs )(GblProperty *pSelf, size_t argCount, va_list *pVaList) | |
GBL_RESULT(* | pFnDefaultValue )(const GblProperty *pSelf, GblVariant *pValue) | |
GBL_RESULT(* | pFnCheckValue )(const GblProperty *pSelf, const GblVariant *pValue) | |
GBL_RESULT(* | pFnValidateValue )(const GblProperty *pSelf, GblVariant *pValue) | |
GBL_RESULT(* | pFnCompareValues )(const GblProperty *pSelf, const GblVariant *pV1, const GblVariant *pV2, int *pResult) | |
Data Fields inherited from GblBoxClass | ||
GblClass | base | |
GblIVariantClass | GblIVariantImpl | |
struct { | ||
GblArrayMap * pFields | ||
} | private_ | |
GBL_RESULT(* | pFnDestructor )(GblBox *pSelf) | |
Data Fields inherited from GblClass | ||
struct { | ||
uintptr_t metaClassInfo | ||
} | private_ | |
Data Fields inherited from GblIVariantClass | ||
GblInterface | base | |
const GblIVariantVTable * | pVTable | |
Data Fields inherited from GblInterface | ||
GblClass | base | |
size_t | outerClassOffset_ | |
GblClass VTable structure for GblProperty.
GblPropertyClass provides overridable virtual methods which allow for a derived type to implement type-specific functionality for a property. This functionality includes:
Definition at line 80 of file gimbal_property.h.
GblBoxClass GblPropertyClass::base |
Inherited base class structure.
Definition at line 80 of file gimbal_property.h.
GBL_RESULT(* GblPropertyClass::pFnInitOptionalArgs) (GblProperty *pSelf, size_t argCount, va_list *pVaList) |
Virtual method invoked during constructor to manage additional, non-default arguments.
Definition at line 82 of file gimbal_property.h.
GBL_RESULT(* GblPropertyClass::pFnDefaultValue) (const GblProperty *pSelf, GblVariant *pValue) |
Virtual method returning the default value for the property.
Definition at line 84 of file gimbal_property.h.
GBL_RESULT(* GblPropertyClass::pFnCheckValue) (const GblProperty *pSelf, const GblVariant *pValue) |
Checks whether a variant is of the right type or can even be accepted as the new property value.
Definition at line 86 of file gimbal_property.h.
GBL_RESULT(* GblPropertyClass::pFnValidateValue) (const GblProperty *pSelf, GblVariant *pValue) |
Updates the variant's value to be within range and a valid value for the given property.
Definition at line 88 of file gimbal_property.h.
GBL_RESULT(* GblPropertyClass::pFnCompareValues) (const GblProperty *pSelf, const GblVariant *pV1, const GblVariant *pV2, int *pResult) |
Compares the values of the two given variants to see if they're even different.
Definition at line 90 of file gimbal_property.h.