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

#include <gimbal_scanner.h>

Inheritance diagram for GblScannerClass:
GblObjectClass GblBoxClass GblITableVariantClass GblIEventHandlerClass GblIEventFilterClass GblClass GblIVariantClass GblInterface GblInterface GblInterface GblInterface GblClass GblClass GblClass GblClass

Data Fields

GblObjectClass base
 
GBL_RESULT(* pFnNextToken )(GblScanner *pSelf, GblStringView *pToken)
 
- Data Fields inherited from GblObjectClass
GblBoxClass base
 
GblITableVariantClass GblITableVariantImpl
 
GblIEventHandlerClass GblIEventHandlerImpl
 
 GblIEventFilter
 
GBL_RESULT(* pFnConstructor )(GblObject *pSelf)
 
GBL_RESULT(* pFnConstructed )(GblObject *pSelf)
 
GBL_RESULT(* pFnProperty )(const GblObject *pSelf, const GblProperty *pProp, GblVariant *pValue)
 
GBL_RESULT(* pFnSetProperty )(GblObject *pSelf, const GblProperty *pProp, GblVariant *pValue)
 
- Data Fields inherited from GblBoxClass
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 GblIVariantVTablepVTable
 
- Data Fields inherited from GblInterface
GblClass base
 
size_t outerClassOffset_
 
- Data Fields inherited from GblITableVariantClass
GblInterface base
 
GBL_RESULT(* pFnIndex )(const GblVariant *pSelf, const GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnSetIndex )(const GblVariant *pSelf, const GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnNext )(const GblVariant *pSelf, GblVariant *pKey, GblVariant *pValue)
 
GBL_RESULT(* pFnCount )(const GblVariant *pSelf, size_t *pSize)
 
- Data Fields inherited from GblIEventHandlerClass
GblInterface base
 
GBL_RESULT(* pFnEvent )(GblIEventHandler *pSelf, GblEvent *pEvent)
 
- Data Fields inherited from GblIEventFilterClass
GblInterface base
 
GBL_RESULT(* pFnEventFilter )(GblIEventFilter *pSelf, GblIEventHandler *pHandler, GblEvent *pEvent)
 

Related Symbols

(Note that these are not member symbols.)

GblType GblScanner_type (void)
 
Default Delimeters

Accessor methods for the default delimeter pattern

GblStringRefGblScannerClass_defaultDelimeters (const GblScannerClass *pSelf)
 
void GblScannerClass_setDefaultDelimeters (GblScannerClass *pSelf, const char *pPattern)
 
void GblScannerClass_setDefaultDelimetersRef (GblScannerClass *pSelf, const GblStringRef *pPattern)
 

Additional Inherited Members

- Public Member Functions inherited from GblObjectClass
 GBL_MAP_NEXT (GblIEventFilter, GBL_MAP1)(GBL_CLASS_IMPL_INTERFACE
 

Detailed Description

GblClass VTable structure for GblScanner.

GblScannerClass provides a virtual function table for polymorphically overriding the tokenization logic.

See also
GblScanner

Definition at line 96 of file gimbal_scanner.h.

Friends And Related Symbol Documentation

◆ GblScannerClass_defaultDelimeters()

GblStringRef * GblScannerClass_defaultDelimeters ( const GblScannerClass pSelf)
related

Returns a string reference to the current default delimeter pattern on the given class.

◆ GblScannerClass_setDefaultDelimeters()

void GblScannerClass_setDefaultDelimeters ( GblScannerClass pSelf,
const char *  pPattern 
)
related

Sets the default delimeter pattern on the given class to a copy of pStr.

◆ GblScannerClass_setDefaultDelimetersRef()

void GblScannerClass_setDefaultDelimetersRef ( GblScannerClass pSelf,
const GblStringRef pPattern 
)
related

Moves the given string reference to be owned by the given class as its delimeter pattern.

◆ GblScanner_type()

GblType GblScanner_type ( void  )
related

Returns the GblType UUID associated with GblScanner.

Field Documentation

◆ base

GblObjectClass GblScannerClass::base

Inherited base class structure.

Definition at line 96 of file gimbal_scanner.h.

◆ pFnNextToken

GBL_RESULT(* GblScannerClass::pFnNextToken) (GblScanner *pSelf, GblStringView *pToken)

Called every time the next token is to be extracted from the stream.

Definition at line 98 of file gimbal_scanner.h.


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