#include <subsql.h>
Public Types | |
| enum | { MaxIdentSize = 256 } |
| enum | token { xml_ident, xml_sconst, xml_iconst, xml_fconst, xml_lt, xml_gt, xml_lts, xml_gts, xml_eq, xml_eof, xml_error } |
Public Member Functions | |
| dbXmlScanner (FILE *f) | |
| token | scan () |
| char * | getString () |
| char * | getIdentifier () |
| size_t | getStringLength () |
| db_int8 | getInt () |
| double | getReal () |
| bool | expect (int sourcePos, token expected) |
| bool | expect (int sourcePos, char *expected) |
Private Member Functions | |
| int | get () |
| void | unget (int ch) |
Private Attributes | |
| int | line |
| int | pos |
| FILE * | in |
| char * | sconst |
| size_t | size |
| size_t | slen |
| db_int8 | iconst |
| double | fconst |
| char | ident [MaxIdentSize] |
| enum token |
| dbXmlScanner | ( | FILE * | f | ) | [inline] |
| dbXmlScanner::token scan | ( | ) |
| char* getString | ( | ) | [inline] |
| char* getIdentifier | ( | ) | [inline] |
| size_t getStringLength | ( | ) | [inline] |
| db_int8 getInt | ( | ) | [inline] |
| double getReal | ( | ) | [inline] |
| bool expect | ( | int | sourcePos, | |
| token | expected | |||
| ) | [inline] |
| bool expect | ( | int | sourcePos, | |
| char * | expected | |||
| ) | [inline] |
| int get | ( | ) | [inline, private] |
| void unget | ( | int | ch | ) | [inline, private] |
int line [private] |
int pos [private] |
FILE* in [private] |
char* sconst [private] |
size_t size [private] |
size_t slen [private] |
double fconst [private] |
char ident[MaxIdentSize] [private] |