libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_box.h>
Data Fields | ||
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/static data structure for GblBox.
GblBoxClass extends GblClass and implements the GblIVariant interface for GblVariant container support. It also provides arbitrary userdata storage at the class-level.
Definition at line 54 of file gimbal_box.h.
|
related |
Returns the void* userdata pointer that has been associated with the given GblBoxClass.
|
related |
Sets the void* userdata pointer, associating it with the given GblBoxClass.
|
related |
Adds an extra destructor callback to the field list, passing the given class back as the destructed value.
|
related |
Returns the generic userdata field value associated with the given key on the class, or 0 if there isn't one.
|
related |
Extracts the generic userdata field value associated with the given key on the class, without destroying it.
|
related |
Destroys the generic userdata field value associated with the given key on the class, returning GBL_TRUE upon success.
|
related |
Returns GBL_TRUE if the given class has generic userdata field value associated with the given key.
|
related |
Sets the generic userdata value and its optional destructor for the given key on the class, destroying the previous value if there was one.
GblClass GblBoxClass::base |
Inherited base class structure.
Definition at line 54 of file gimbal_box.h.
GblIVariantClass GblBoxClass::GblIVariantImpl |
Embedded interface class structure.
Definition at line 54 of file gimbal_box.h.
GblArrayMap* GblBoxClass::pFields |
PRIVATE: Internal storage for userdata fields.
Definition at line 56 of file gimbal_box.h.
GBL_RESULT(* GblBoxClass::pFnDestructor) (GblBox *pSelf) |
Virtual method invoked when a GblBox is being destroyed.
Definition at line 60 of file gimbal_box.h.