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

#include <gimbal_cmd_parser.h>

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

Data Fields

GblObjectClass base
 
GBL_RESULT(* pFnParse )(GblCmdParser *pSelf, GblStringView cmd)
 
GBL_RESULT(* pFnTryUnknownOption )(GblCmdParser *pSelf, GblStringView key, GblStringView value, size_t *pUsed)
 
- 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)
 

Additional Inherited Members

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

Detailed Description

GblClass for GblCmdParser.

GblCmdParserClass offers a polymorphic virtual table for processing command-line arguments.

See also
GblCmdParser

Definition at line 50 of file gimbal_cmd_parser.h.

Field Documentation

◆ base

GblObjectClass GblCmdParserClass::base

Inherited base class structure.

Definition at line 50 of file gimbal_cmd_parser.h.

◆ pFnParse

GBL_RESULT(* GblCmdParserClass::pFnParse) (GblCmdParser *pSelf, GblStringView cmd)

Parses the command given by cmd and returns a GBL_RESULT code.

Definition at line 52 of file gimbal_cmd_parser.h.

◆ pFnTryUnknownOption

GBL_RESULT(* GblCmdParserClass::pFnTryUnknownOption) (GblCmdParser *pSelf, GblStringView key, GblStringView value, size_t *pUsed)

Checks to see if unknown command-line option values can be used, returning number used.

Definition at line 55 of file gimbal_cmd_parser.h.


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