libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_flags.h>
Data Fields | ||
GblPrimitiveClass | base | |
GblFlags | valueMask | |
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 | GblFlags_type (void) |
Name Queries | |
Methods for querying name of flag values | |
const char * | GblFlagsClass_nameFromIndex (const GblFlagsClass *pSelf, uint16_t index) |
const char * | GblFlagsClass_nameFromValue (const GblFlagsClass *pSelf, GblFlags value) |
GblQuark | GblFlagsClass_nameQuarkFromIndex (const GblFlagsClass *pSelf, uint16_t index) |
GblQuark | GblFlagsClass_nameQuarkFromValue (const GblFlagsClass *pSelf, GblFlags value) |
Nick Queries | |
Methods for querying nick of flag values | |
const char * | GblFlagsClass_nickFromIndex (const GblFlagsClass *pSelf, uint16_t index) |
const char * | GblFlagsClass_nickFromValue (const GblFlagsClass *pSelf, GblFlags value) |
GblQuark | GblFlagsClass_nickQuarkFromIndex (const GblFlagsClass *pSelf, uint16_t index) |
GblQuark | GblFlagsClass_nickQuarkFromValue (const GblFlagsClass *pSelf, GblFlags value) |
Value Queries | |
Methods for querying value of flag values | |
GblFlags | GblFlagsClass_valueFromIndex (const GblFlagsClass *pSelf, uint16_t index) |
GblFlags | GblFlagsClass_valueFromName (const GblFlagsClass *pSelf, const char *pName) |
GblFlags | GblFlagsClass_valueFromNick (const GblFlagsClass *pSelf, const char *pNick) |
GblFlags | GblFlagsClass_valueFromNameQuark (const GblFlagsClass *pSelf, GblQuark name) |
GblFlags | GblFlagsClass_valueFromNickQuark (const GblFlagsClass *pSelf, GblQuark nick) |
GblFlags | GblFlagsClass_valueFromString (const GblFlagsClass *pSelf, const char *pString) |
GblBool | GblFlagsClass_valueCheck (const GblFlagsClass *pSelf, GblFlags value) |
GBL_RESULT | GblFlagsClass_valueAppendString (const GblFlagsClass *pSelf, GblFlags value, GblStringBuffer *pStr) |
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 flags.
GblFlagsClass is a static/persistent class which is created from a list of GblFlagEntry structures, representing all of the valid bits for the flag type.
Definition at line 49 of file gimbal_flags.h.
GblPrimitiveClass GblFlagsClass::base |
Inherited base class structure.
Definition at line 49 of file gimbal_flags.h.
GblFlags GblFlagsClass::valueMask |
Mask of all bits which can be set within the value.
Definition at line 50 of file gimbal_flags.h.
uint16_t GblFlagsClass::entryCount |
Cached number of values in the entry table.
Definition at line 51 of file gimbal_flags.h.