|
(Note that these are not member symbols.)
|
|
Methods for setting input and delimeter pattern
|
GblStringRef * | GblScanner_input (const GblScanner *pSelf) |
|
void | GblScanner_setInput (GblScanner *pSelf, const char *pStr, size_t count) |
|
void | GblScanner_setInputRef (GblScanner *pSelf, const GblStringRef *pRef) |
|
GblStringRef * | GblScanner_delimeters (const GblScanner *pSelf) |
|
void | GblScanner_setDelimeters (GblScanner *pSelf, const char *pPattern) |
|
|
Methods for managing errors
|
void | GblScanner_clearError (GblScanner *pSelf) |
|
void | GblScanner_raiseError (GblScanner *pSelf, GblFlags flags, const char *pFmt,...) |
|
|
Methods for controlling the input stream
|
void | GblScanner_reset (GblScanner *pSelf) |
|
size_t | GblScanner_tell (const GblScanner *pSelf) |
|
GblBool | GblScanner_seek (GblScanner *pSelf, int whence) |
|
|
Methods for managing the stream cursor
|
const GblScannerCursor * | GblScanner_cursor (const GblScanner *pSelf, size_t depth) |
|
size_t | GblScanner_cursorDepth (const GblScanner *pSelf) |
|
GBL_RESULT | GblScanner_pushCursor (GblScanner *pSelf) |
|
GBL_RESULT | GblScanner_popCursor (GblScanner *pSelf) |
|
|
Methods for scanning the next token
|
GblBool | GblScanner_scanToken (GblScanner *pSelf) |
|
GblBool | GblScanner_scanMatch (GblScanner *pSelf, const char *pPat) |
|
GblBool | GblScanner_scanPattern (GblScanner *pSelf, const GblPattern *pPat) |
|
GblBool | GblScanner_scanLines (GblScanner *pSelf, size_t lines) |
|
GblBool | GblScanner_scanBytes (GblScanner *pSelf, size_t bytes) |
|
GblBool | GblScanner_scanBool (GblScanner *pSelf, GblBool *pBool) |
|
GblBool | GblScanner_scanChar (GblScanner *pSelf, char *pChar) |
|
GblBool | GblScanner_scanUint8 (GblScanner *pSelf, uint8_t *pUint) |
|
GblBool | GblScanner_scanUint16 (GblScanner *pSelf, uint16_t *pUint) |
|
GblBool | GblScanner_scanInt16 (GblScanner *pSelf, int16_t *pInt) |
|
GblBool | GblScanner_scanInt32 (GblScanner *pSelf, int32_t *pInt) |
|
GblBool | GblScanner_scanUint32 (GblScanner *pSelf, uint32_t *pUint) |
|
GblBool | GblScanner_scanInt64 (GblScanner *pSelf, int64_t *pInt) |
|
GblBool | GblScanner_scanUint64 (GblScanner *pSelf, uint64_t *pUint) |
|
GblBool | GblScanner_scanFloat (GblScanner *pSelf, float *pFloat) |
|
GblBool | GblScanner_scanDouble (GblScanner *pSelf, double *pDouble) |
|
GblBool | GblScanner_scanType (GblScanner *pSelf, GblType t,...) |
|
GblBool | GblScanner_scanTypeVa (GblScanner *pSelf, GblType t, va_list *pVa) |
|
#define | GblScanner_scan(self, ptr) |
|
|
Methods for peeking at the next token
|
GblBool | GblScanner_peekToken (GblScanner *pSelf) |
|
GblBool | GblScanner_peekMatch (GblScanner *pSelf, const char *pMatch) |
|
GblBool | GblScanner_peekPattern (GblScanner *pSelf, const GblPattern *pPat) |
|
GblBool | GblScanner_peekLines (GblScanner *pSelf, size_t count) |
|
GblBool | GblScanner_peekBytes (GblScanner *pSelf, size_t count) |
|
GblBool | GblScanner_peekBool (GblScanner *pSelf, GblBool *pBool) |
|
GblBool | GblScanner_peekChar (GblScanner *pSelf, char *pChar) |
|
GblBool | GblScanner_peekUint8 (GblScanner *pSelf, uint8_t *pUint) |
|
GblBool | GblScanner_peekUint16 (GblScanner *pSelf, uint16_t *pUint) |
|
GblBool | GblScanner_peekInt16 (GblScanner *pSelf, int16_t *pInt) |
|
GblBool | GblScanner_peekInt32 (GblScanner *pSelf, int32_t *pInt) |
|
GblBool | GblScanner_peekUint32 (GblScanner *pSelf, uint32_t *pUint) |
|
GblBool | GblScanner_peekInt64 (GblScanner *pSelf, int64_t *pInt) |
|
GblBool | GblScanner_peekUint64 (GblScanner *pSelf, uint64_t *pUint) |
|
GblBool | GblScanner_peekFloat (GblScanner *pSelf, float *pFloat) |
|
GblBool | GblScanner_peekDouble (GblScanner *pSelf, double *pDouble) |
|
GblBool | GblScanner_peekType (GblScanner *pSelf, GblType t,...) |
|
GblBool | GblScanner_peekTypeVa (GblScanner *pSelf, GblType t, va_list *pVa) |
|
#define | GblScanner_peek(self, ptr) |
|
|
Methods for skipping over the input steram
|
GblBool | GblScanner_skipTokens (GblScanner *pSelf, size_t count) |
|
GblBool | GblScanner_skipMatch (GblScanner *pSelf, const char *pPattern) |
|
GblBool | GblScanner_skipPattern (GblScanner *pSelf, const GblPattern *pPat) |
|
GblBool | GblScanner_skipToMatch (GblScanner *pSelf, const char *pPattern) |
|
GblBool | GblScanner_skipToPattern (GblScanner *pSelf, const GblPattern *pPat) |
|
GblBool | GblScanner_skipLines (GblScanner *pSelf, size_t count) |
|
GblBool | GblScanner_skipBytes (GblScanner *pSelf, size_t count) |
|
|
Methods providing other utilities
|
int | GblScanner_scanf (GblScanner *pSelf, const char *pFmt,...) |
|
int | GblScanner_vscanf (GblScanner *pSelf, const char *pFmt, va_list *pList) |
|
GblContext * | GblObject_findContext (GblObject *pSelf) |
|
GBL_RESULT | GblObject_property (const GblObject *pSelf, const char *pName,...) |
|
GBL_RESULT | GblObject_propertyByQuark (const GblObject *pSelf, GblQuark name,...) |
|
GBL_RESULT | GblObject_propertyVaList (const GblObject *pSelf, const char *pName, va_list *pList) |
|
GBL_RESULT | GblObject_propertyVaListByQuark (const GblObject *pSelf, GblQuark name, va_list *pList) |
|
GBL_RESULT | GblObject_propertyVariant (const GblObject *pSelf, const char *pName, GblVariant *pValue) |
|
GBL_RESULT | GblObject_propertyVariantByQuark (const GblObject *pSelf, GblQuark name, GblVariant *pValue) |
|
GBL_RESULT | GblObject_properties (const GblObject *pSelf,...) |
|
GBL_RESULT | GblObject_propertiesVaList (const GblObject *pSelf, va_list *pList) |
|
GBL_RESULT | GblObject_propertiesVariants (const GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue) |
|
GBL_RESULT | GblObject_setProperty (GblObject *pSelf, const char *pName,...) |
|
GBL_RESULT | GblObject_setPropertyByQuark (GblObject *pSelf, GblQuark quark,...) |
|
GBL_RESULT | GblObject_setPropertyVaList (GblObject *pSelf, const char *pName, va_list *pList) |
|
GBL_RESULT | GblObject_setPropertyVaListByQuark (GblObject *pSelf, GblQuark name, va_list *pList) |
|
GBL_RESULT | GblObject_setPropertyVariant (GblObject *pSelf, const char *pName, GblVariant *pValue) |
|
GBL_RESULT | GblObject_setPropertyVariantByQuark (GblObject *pSelf, GblQuark name, GblVariant *pValue) |
|
GBL_RESULT | GblObject_setProperties (GblObject *pSelf,...) |
|
GBL_RESULT | GblObject_setPropertiesVaList (GblObject *pSelf, va_list *pList) |
|
GBL_RESULT | GblObject_setPropertiesVariants (GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue) |
|
const GblStringRef * | GblObject_name (const GblObject *pSelf) |
|
void | GblObject_setName (GblObject *pSelf, const char *pName) |
|
void | GblObject_setNameRef (GblObject *pSelf, const GblStringRef *pRef) |
|
GblObject * | GblObject_parent (const GblObject *pSelf) |
|
void | GblObject_setParent (GblObject *pSelf, GblObject *pParent) |
|
void | GblObject_addChild (GblObject *pSelf, GblObject *pChild) |
|
GblBool | GblObject_removeChild (GblObject *pSelf, GblObject *pChild) |
|
size_t | GblObject_depth (const GblObject *pSelf) |
|
GblObject * | GblObject_childFirst (const GblObject *pSelf) |
|
size_t | GblObject_childCount (const GblObject *pSelf) |
|
GblObject * | GblObject_siblingNext (const GblObject *pSelf) |
|
GblObject * | GblObject_findAncestorByType (const GblObject *pSelf, GblType ancestorType) |
|
GblObject * | GblObject_findAncestorByName (const GblObject *pSelf, const char *pName) |
|
GblObject * | GblObject_findAncestorByHeight (const GblObject *pSelf, size_t height) |
|
GblObject * | GblObject_findBaseByDepth (const GblObject *pSelf, size_t depth) |
|
GblObject * | GblObject_findChildByType (const GblObject *pSelf, GblType childType) |
|
GblObject * | GblObject_findChildByName (const GblObject *pSelf, const char *pName) |
|
GblObject * | GblObject_findChildByIndex (const GblObject *pSelf, size_t index) |
|
GblObject * | GblObject_findSiblingByType (const GblObject *pSelf, GblType siblingType) |
|
GblObject * | GblObject_findSiblingByName (const GblObject *pSelf, const char *pName) |
|
GblObject * | GblObject_findSiblingByIndex (const GblObject *pSelf, size_t index) |
|
GBL_RESULT | GblObject_sendEvent (GblObject *pSelf, GblEvent *pEvent) |
|
GBL_RESULT | GblObject_notifyEvent (GblObject *pSelf, GblEvent *pEvent) |
|
GBL_RESULT | GblObject_installEventFilter (GblObject *pSelf, GblIEventFilter *pFilter) |
|
GBL_RESULT | GblObject_uninstallEventFilter (GblObject *pSelf, GblIEventFilter *pFilter) |
|
size_t | GblObject_eventFilterCount (const GblObject *pSelf) |
|
GblIEventFilter * | GblObject_eventFilter (const GblObject *pSelf, size_t index) |
|
GblBox * | GblBox_ref (GblBox *pSelf) |
|
GblRefCount | GblBox_unref (GblBox *pSelf) |
|
GblRefCount | GblBox_refCount (const GblBox *pSelf) |
|
void * | GblBox_userdata (const GblBox *pSelf) |
|
GBL_RESULT | GblBox_setUserdata (GblBox *pSelf, void *pUserdata) |
|
GBL_RESULT | GblBox_setUserDestructor (GblBox *pSelf, GblArrayMapDtorFn pFnUdDtor) |
|
uintptr_t | GblBox_field (const GblBox *pSelf, GblQuark key) |
|
uintptr_t | GblBox_takeField (GblBox *pSelf, GblQuark key) |
|
GblBool | GblBox_clearField (GblBox *pSelf, GblQuark key) |
|
GblBool | GblBox_hasField (const GblBox *pSelf, GblQuark key) |
|
GBL_RESULT | GblBox_setField (GblBox *pSelf, GblQuark key, uintptr_t ud, GblArrayMapDtorFn pFnDtor) |
|
GblRefCount | GblInstance_destroy (GblInstance *pSelf) |
|
#define | GBL_TYPEOF(self) |
|
#define | GBL_PRIVATE(cType, self) |
|
#define | GBL_PUBLIC(cType, selfPriv) |
|
#define | GBL_TYPECHECK(cType, self) |
|
#define | GBL_CAST(cType, self) |
|
#define | GBL_AS(cType, self) |
|
#define | GBL_CLASSOF(cType, self) |
|
#define | GBL_CLASSOF_AS(cType, self) |
|
#define | GBL_VCALL(cType, method, ...) |
|
#define | GBL_VCALL_DEFAULT(cType, method, ...) |
|
GblBool | GblInstance_check (const GblInstance *pSelf, GblType toType) |
|
GblInstance * | GblInstance_cast (GblInstance *pSelf, GblType toType) |
|
GblInstance * | GblInstance_as (GblInstance *pSelf, GblType toType) |
|
void * | GblInstance_private (const GblInstance *pSelf, GblType base) |
|
GblInstance * | GblInstance_public (const void *pPriv, GblType base) |
|
GblType | GblInstance_typeOf (const GblInstance *pSelf) |
|
size_t | GblInstance_size (const GblInstance *pSelf) |
|
size_t | GblInstance_privateSize (const GblInstance *pSelf) |
|
size_t | GblInstance_totalSize (const GblInstance *pSelf) |
|
GblClass * | GblInstance_class (const GblInstance *pSelf) |
|
GBL_RESULT | GblInstance_swizzleClass (GblInstance *pSelf, GblClass *pClass) |
|
GBL_RESULT | GblInstance_sinkClass (GblInstance *pSelf) |
|
GBL_RESULT | GblInstance_floatClass (GblInstance *pSelf) |
|
Generic text stream scanner object.
GblScanner offers a generic way to scan through a stream of text, parsing its contents into variables of any type supported by the type system.
- See also
- GblScannerClass
Definition at line 112 of file gimbal_scanner.h.