libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_enum.h>
Data Fields | ||
GblPrimitiveClass | base | |
GblEnum | valueMax | |
GblEnum | valueMin | |
uint16_t | entryCount | |
Data Fields inherited from GblPrimitiveClass | ||
GblClass | base | |
GblIVariantClass | GblIVariantImpl | |
Data Fields inherited from GblIVariantClass | ||
GblInterface | base | |
const GblIVariantVTable * | pVTable | |
Data Fields inherited from GblInterface | ||
GblClass | base | |
size_t | outerClassOffset_ | |
Data Fields inherited from GblClass | ||
struct { | ||
uintptr_t metaClassInfo | ||
} | private_ | |
Related Symbols | |
(Note that these are not member symbols.) | |
GblType | GblEnum_type (void) |
Name Queries | |
Methods for querying name of enum values | |
const char * | GblEnumClass_nameFromIndex (const GblEnumClass *pSelf, uint16_t index) |
const char * | GblEnumClass_nameFromValue (const GblEnumClass *pSelf, GblEnum value) |
GblQuark | GblEnumClass_nameQuarkFromIndex (const GblEnumClass *pSelf, uint16_t index) |
GblQuark | GblEnumClass_nameQuarkFromValue (const GblEnumClass *pSelf, GblEnum value) |
Nick Queries | |
Methods for querying nick of enum values | |
const char * | GblEnumClass_nickFromIndex (const GblEnumClass *pSelf, uint16_t index) |
const char * | GblEnumClass_nickFromValue (const GblEnumClass *pSelf, GblEnum value) |
GblQuark | GblEnumClass_nickQuarkFromIndex (const GblEnumClass *pSelf, uint16_t index) |
GblQuark | GblEnumClass_nickQuarkFromValue (const GblEnumClass *pSelf, GblEnum value) |
Value Queries | |
Methods for querying value of enum values | |
GblEnum | GblEnumClass_valueFromIndex (const GblEnumClass *pSelf, uint16_t index) |
GblEnum | GblEnumClass_valueFromName (const GblEnumClass *pSelf, const char *pString) |
GblEnum | GblEnumClass_valueFromNick (const GblEnumClass *pSelf, const char *pString) |
GblEnum | GblEnumClass_valueFromNameQuark (const GblEnumClass *pSelf, GblQuark quark) |
GblEnum | GblEnumClass_valueFromNickQuark (const GblEnumClass *pSelf, GblQuark quark) |
GblBool | GblEnumClass_valueCheck (const GblEnumClass *pSelf, GblEnum value) |
Related Symbols inherited from GblInterface | |
#define | GBL_INTERFACE(klass) |
#define | GBL_INTERFACE_TRY(klass) |
#define | GBL_INTERFACE_OUTER_CLASS(iface) |
#define | GBL_INTERFACE_OUTER_MOST_CLASS(iface) |
GblInterface_outerClass (GblInterface *pSelf) | |
GblClass * | GblInterface_outerMostClass (GblInterface *pSelf) |
Related Symbols inherited from GblClass | |
GBL_CLASS_SUPER (klass) | |
GBL_CLASS_DEFAULT (klass) | |
#define | GBL_CLASS_PRIVATE(cType, klass) |
#define | GBL_CLASS_PUBLIC(cType, priv) |
#define | GBL_CLASS_TYPECHECK(cType, klass) |
GBL_CLASS_TYPECHECK_PREFIX (klass, typePrefix) | |
#define | GBL_CLASS_CAST(cType, klass) |
GBL_CLASS_CAST_PREFIX (klass, typePrefix) | |
GBL_CLASS_TRY (klass, toType, cType) | |
GBL_CLASS_TRY_PREFIX (klass, typePrefix) | |
GblClass * | GblClass_refDefault (GblType type) |
GblRefCount | GblClass_unrefDefault (GblClass *pSelf) |
GblClass * | GblClass_weakRefDefault (GblType type) |
GblClass * | GblClass_createFloating (GblType type) |
GBL_RESULT | GblClass_destroyFloating (GblClass *pSelf) |
GBL_RESULT | GblClass_constructFloating (GblClass *pSelf, GblType type) |
GBL_RESULT | GblClass_destructFloating (GblClass *pSelf) |
#define | GBL_CLASS(klass) |
#define | GBL_CLASS_TYPEOF(klass) |
#define | GBL_CLASS_PRIVATE(cType, klass) |
#define | GBL_CLASS_PUBLIC(cType, priv) |
#define | GBL_CLASS_TYPECHECK(cType, klass) |
#define | GBL_CLASS_CAST(cType, klass) |
#define | GBL_CLASS_AS(cType, klass) |
#define | GBL_STATIC_CLASS_TYPE |
#define | GBL_STATIC_CLASS(klass) |
GblBool | GblClass_check (const GblClass *pSelf, GblType toType) |
GblClass * | GblClass_cast (GblClass *pSelf, GblType toType) |
GblClass * | GblClass_as (GblClass *pSelf, GblType toType) |
void * | GblClass_private (const GblClass *pSelf, GblType base) |
GblClass * | GblClass_public (const void *pPrivate, GblType base) |
GblType | GblClass_typeOf (const GblClass *pSelf) |
size_t | GblClass_size (const GblClass *pSelf) |
size_t | GblClass_privateSize (const GblClass *pSelf) |
size_t | GblClass_totalSize (const GblClass *pSelf) |
GblBool | GblClass_isDefault (const GblClass *pSelf) |
GblBool | GblClass_isOverridden (const GblClass *pSelf) |
GblBool | GblClass_isInterface (const GblClass *pSelf) |
GblBool | GblClass_isInterfaceImpl (const GblClass *pSelf) |
GblBool | GblClass_isFloating (const GblClass *pSelf) |
GblBool | GblClass_isOwned (const GblClass *pSelf) |
GblBool | GblClass_isInPlace (const GblClass *pSelf) |
GblClass * | GblClass_super (const GblClass *pSelf) |
GblClass * | GblClass_default (const GblClass *pSelf) |
Static GblClass for storing type data for enumerations.
GblEnumClass is a static/persistent class which is created from a list of GblEnumEntry structures, representing all of the valid values for the enumerated type.
Definition at line 53 of file gimbal_enum.h.
GblPrimitiveClass GblEnumClass::base |
Inherited base class structure.
Definition at line 53 of file gimbal_enum.h.
GblEnum GblEnumClass::valueMax |
Cached maximum value of the enum (used for validation)
Definition at line 54 of file gimbal_enum.h.
GblEnum GblEnumClass::valueMin |
Cached minimum value of the enum (used for validation)
Definition at line 55 of file gimbal_enum.h.
uint16_t GblEnumClass::entryCount |
Cached number of values in the entry table.
Definition at line 56 of file gimbal_enum.h.