Rudiments
|
Inherits sax.
Inherited by propdom.
Public Member Functions | |
propsax () | |
virtual | ~propsax () |
Public Member Functions inherited from sax | |
sax () | |
virtual | ~sax () |
void | setIgnoreHeaderLines (uint64_t lines) |
uint64_t | getIgnoreHeaderLines () |
void | setIgnoreFooterLines (uint64_t lines) |
uint64_t | getIgnoreFooterLines () |
virtual bool | parse (input *in) |
virtual bool | parseFile (const char *filename) |
virtual bool | parseString (const char *string) |
const char * | getError () |
Public Member Functions inherited from object | |
virtual | ~object () |
Protected Member Functions | |
virtual bool | whitespaceStart () |
virtual bool | whitespace (const char *w) |
virtual bool | whitespaceEnd () |
virtual bool | exclamationCommentStart () |
virtual bool | exclamationComment (const char *c) |
virtual bool | exclamationCommentEnd () |
virtual bool | poundCommentStart () |
virtual bool | poundComment (const char *c) |
virtual bool | poundCommentEnd () |
virtual bool | keyStart () |
virtual bool | key (const char *k) |
virtual bool | keyEnd () |
virtual bool | equals (const char *e) |
virtual bool | valueStart () |
virtual bool | value (const char *v) |
virtual bool | valueEnd () |
The propsax class is a base class for an SAX-style parser for data in property-file format. To use this class, you should create a class that inherits from it and implements its protected virtual methods.
propsax::propsax | ( | ) |
Creates an instance of the propsax class.
|
virtual |
Deletes this instance of the propsax class.
|
protectedvirtual |
Gets called when the equality delimiter between a key and value is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when an exclamation-delimited comment is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the end of an exclamation-delimited comment is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the start of an exclamation-delimited comment is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when a key name is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the end of a key is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the start of a key is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when a pound-delimited comment is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the end of a pound-delimited comment is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the start of a pound-delimited comment is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when a value name is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the end of a value is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the start of a value is encountered.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when whitespace (outside of a comment, section name, key, or value) is parsed.
Reimplemented in propdom.
|
protectedvirtual |
Gets called when the end of whitespace (outside of a comment, section name, key, or value) is encountered.
Reimplemented in propdom.