|
Rudiments
|
Inherits sax.
Inherited by inidom.
Public Member Functions | |
| inisax () | |
| virtual | ~inisax () |
Public Member Functions inherited from sax | |
| sax () | |
| virtual | ~sax () |
| virtual bool | parseFile (const char *filename) |
| virtual bool | parseString (const char *string) |
| const char * | getError () |
Protected Member Functions | |
| virtual bool | whitespaceStart () |
| virtual bool | whitespace (const char *w) |
| virtual bool | whitespaceEnd () |
| virtual bool | semicolonCommentStart () |
| virtual bool | semicolonComment (const char *c) |
| virtual bool | semicolonCommentEnd () |
| virtual bool | poundCommentStart () |
| virtual bool | poundComment (const char *c) |
| virtual bool | poundCommentEnd () |
| virtual bool | sectionStart () |
| virtual bool | section (const char *s) |
| virtual bool | sectionEnd () |
| virtual bool | keyStart () |
| virtual bool | key (const char *k) |
| virtual bool | keyEnd () |
| virtual bool | valueStart () |
| virtual bool | value (const char *v) |
| virtual bool | valueEnd () |
The inisax class is a base class for an SAX-style parser for data in .ini-file format. To use this class, you should create a class that inherits from it and implements its protected virtual methods.
| inisax::inisax | ( | ) |
Creates an instance of the inisax class.
|
virtual |
Deletes this instance of the inisax class.
|
protectedvirtual |
Gets called when a key name is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of a key is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the start of a key is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when a pound-delimited comment is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of a pound-delimited comment is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the start of a pound-delimited comment is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the name of a section is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of a section is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the start of a section is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when a semicolon-delimited comment is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of a semicolon-delimited comment is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the start of a semicolon-delimited comment is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when a value name is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of a value is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the start of a value is encountered.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when whitespace (outside of a comment, section name, key, or value) is parsed.
Reimplemented in inidom.
|
protectedvirtual |
Gets called when the end of whitespace (outside of a comment, section name, key, or value) is encountered.
Reimplemented in inidom.