#include <public/ITextParsers.h>
Public Member Functions | |
| virtual unsigned int | GetTextParserVersion2 () |
| Returns version number. | |
| virtual void | ReadSMC_ParseStart () |
| Called when starting parsing. | |
| virtual void | ReadSMC_ParseEnd (bool halted, bool failed) |
| Called when ending parsing. | |
| virtual SMCResult | ReadSMC_NewSection (const SMCStates *states, const char *name) |
| Called when entering a new section. | |
| virtual SMCResult | ReadSMC_KeyValue (const SMCStates *states, const char *key, const char *value) |
| Called when encountering a key/value pair in a section. | |
| virtual SMCResult | ReadSMC_LeavingSection (const SMCStates *states) |
| Called when leaving the current section. | |
| virtual SMCResult | ReadSMC_RawLine (const SMCStates *states, const char *line) |
| Called after an input line has been preprocessed. | |
Definition at line 236 of file ITextParsers.h.
| virtual void SourceMod::ITextListener_SMC::ReadSMC_ParseEnd | ( | bool | halted, | |
| bool | failed | |||
| ) | [inline, virtual] |
Called when ending parsing.
| halted | True if abnormally halted, false otherwise. | |
| failed | True if parsing failed, false otherwise. |
Definition at line 260 of file ITextParsers.h.
| virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_NewSection | ( | const SMCStates * | states, | |
| const char * | name | |||
| ) | [inline, virtual] |
Called when entering a new section.
| states | Parsing states. | |
| name | Name of section, with the colon omitted. |
Definition at line 271 of file ITextParsers.h.
| virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_KeyValue | ( | const SMCStates * | states, | |
| const char * | key, | |||
| const char * | value | |||
| ) | [inline, virtual] |
Called when encountering a key/value pair in a section.
| states | Parsing states. | |
| key | Key string. | |
| value | Value string. If no quotes were specified, this will be NULL, and key will contain the entire string. |
Definition at line 285 of file ITextParsers.h.
| virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_LeavingSection | ( | const SMCStates * | states | ) | [inline, virtual] |
Called when leaving the current section.
| states | Parsing states. |
Definition at line 296 of file ITextParsers.h.
| virtual SMCResult SourceMod::ITextListener_SMC::ReadSMC_RawLine | ( | const SMCStates * | states, | |
| const char * | line | |||
| ) | [inline, virtual] |
Called after an input line has been preprocessed.
| states | Parsing states. | |
| line | Contents of the line, null terminated at the position of the newline character (thus, no newline will exist). |
Definition at line 309 of file ITextParsers.h.
1.5.1