libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblFlagsClass Struct Reference

#include <gimbal_flags.h>

Inheritance diagram for GblFlagsClass:
GblPrimitiveClass GblIVariantClass GblInterface GblClass

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 GblIVariantVTablepVTable
 
- 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)
 

Detailed Description

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.

Field Documentation

◆ base

GblPrimitiveClass GblFlagsClass::base

Inherited base class structure.

Definition at line 49 of file gimbal_flags.h.

◆ valueMask

GblFlags GblFlagsClass::valueMask

Mask of all bits which can be set within the value.

Definition at line 50 of file gimbal_flags.h.

◆ entryCount

uint16_t GblFlagsClass::entryCount

Cached number of values in the entry table.

Definition at line 51 of file gimbal_flags.h.


The documentation for this struct was generated from the following file: