libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
struct | GblPropertyClass |
struct | GblProperty |
Macros | |
#define | GBL_GENERIC_PROPERTY_TYPE |
Type System | |
UUID and Cast Operators | |
#define | GBL_PROPERTY_TYPE |
#define | GBL_PROPERTY(self) |
#define | GBL_PROPERTY_CLASS(klass) |
#define | GBL_PROPERTY_GET_CLASS(self) |
Helper DSL | |
Helper macros for declaration and registration | |
#define | GBL_PROPERTIES(object, ...) |
#define | GBL_PROPERTIES_REGISTER(...) |
Typedefs | |
typedef GblBool(* | GblPropertyIterFn) (const GblProperty *pProp, void *pClosure) |
typedef GblEnum | GBL_PROPERTY_FLAG |
Enumerations | |
enum | GBL_PROPERTY_FLAG |
Functions | |
GblType | GblProperty_type (void) |
size_t | GblProperty_totalCount (void) |
GBL_RESULT | GblProperty_install (GblType objType, GblProperty *pProp) |
GblBool | GblProperty_uninstall (GblType objType, const char *pName) |
GblBool | GblProperty_uninstallQuark (GblType objType, GblQuark name) |
GblBool | GblProperty_uninstallAll (GblType objType) |
size_t | GblProperty_count (GblType objectType) |
GblFlags | GblProperty_combinedFlags (GblType objectType) |
const GblProperty * | GblProperty_find (GblType objectType, const char *pName) |
const GblProperty * | GblProperty_findQuark (GblType objectType, GblQuark name) |
const GblProperty * | GblProperty_next (GblType objectType, const GblProperty *pPrev, GblFlags mask) |
GblBool | GblProperty_foreach (GblType objectType, GBL_PROPERTY_FLAG flags, GblPropertyIterFn pFnIt, void *pClosure) |
GblProperty * | GblProperty_create (GblType derivedType, const char *pName, size_t id, GblFlags flags, size_t optionalArgCount,...) |
GblProperty * | GblProperty_createVaList (GblType derivedType, const char *pName, size_t id, GblFlags flags, size_t optionalArgCount, va_list *pList) |
GBL_RESULT | GblProperty_construct (GblProperty *pSelf, GblType derivedType, const char *pName, size_t id, GblFlags flags, size_t optionalArgCount,...) |
GBL_RESULT | GblProperty_constructVaList (GblProperty *pSelf, GblType derivedType, const char *pName, size_t id, GblFlags flags, size_t optionalArgCount, va_list *pList) |
GBL_RESULT | GblProperty_createOrConstruct (GblProperty **ppSelf, GblType derivedType, const char *pName, size_t id, GblFlags flags, size_t optionalArgCount,...) |
GblType | GblProperty_objectType (const GblProperty *pSelf) |
const char * | GblProperty_nameString (const GblProperty *pSelf) |
GBL_RESULT | GblProperty_defaultValue (const GblProperty *pSelf, GblVariant *pValue) |
GblBool | GblProperty_checkValue (const GblProperty *pSelf, const GblVariant *pValue) |
GBL_RESULT | GblProperty_validateValue (const GblProperty *pSelf, GblVariant *pValue) |
int | GblProperty_compareValues (const GblProperty *pSelf, const GblVariant *pV1, const GblVariant *pV2) |
GblProperty instance, DSL, and management API.
This file contains the type declarations and methods for GblProperty, the root property instance from which all other properties are derived.
Definition in file gimbal_property.h.
#define GBL_PROPERTY_TYPE |
Type UUID for GblProperty.
Definition at line 21 of file gimbal_property.h.
#define GBL_PROPERTY | ( | self | ) |
Casts a GblInstance to GblProperty.
Definition at line 22 of file gimbal_property.h.
#define GBL_PROPERTY_CLASS | ( | klass | ) |
Casts a GblClass to GblPropertyClass.
Definition at line 23 of file gimbal_property.h.
#define GBL_PROPERTY_GET_CLASS | ( | self | ) |
Gets a GblPropertyClass from GblInstance.
Definition at line 24 of file gimbal_property.h.
#define GBL_GENERIC_PROPERTY_TYPE |
Alternate type identifier for GblProperty.
Definition at line 28 of file gimbal_property.h.
#define GBL_PROPERTIES | ( | object, | |
... | |||
) |
Declares a list of properties for the given object/instance structure.
Definition at line 35 of file gimbal_property.h.
#define GBL_PROPERTIES_REGISTER | ( | ... | ) |
Registeres the list of properties which were declared with GBL_PROPERTIES()
Definition at line 37 of file gimbal_property.h.
typedef GblBool(* GblPropertyIterFn) (const GblProperty *pProp, void *pClosure) |
Function signature used as an iterator with GblProperty_foreach()
Definition at line 47 of file gimbal_property.h.
typedef GblEnum GBL_PROPERTY_FLAG |
Definition at line 52 of file gimbal_property.h.
enum GBL_PROPERTY_FLAG |
Flags used to denote property attributes.
Definition at line 52 of file gimbal_property.h.