Inherits YGP::ParseAttomic.
Inherited by YGP::OFParseText< INISection >, YGP::CBParseText, YGP::OFParseText< T >, YGP::ParseQuoted, and YGP::ParseTextEsc.
Public Member Functions | |
| ParseText (const char *abort, const char *description, unsigned int max, unsigned int min=1, bool skipWhitespace=true, bool reportData=true) | |
| ParseText (const ParseText &other) | |
| virtual | ~ParseText () |
| ParseText & | operator= (const ParseText &other) |
Protected Member Functions | |
| virtual int | checkValue (char ch) |
Parsing of this element is stopped, if any of the characters in the abort-parameters is found (or the maximal cardinality is reached).
See ParseObject for a general description of the parser.
| YGP::ParseText::ParseText | ( | const char * | abort, | |
| const char * | description, | |||
| unsigned int | max, | |||
| unsigned int | min = 1, |
|||
| bool | skipWhitespace = true, |
|||
| bool | reportData = true | |||
| ) | [inline] |
Constructor.
| YGP::ParseText::ParseText | ( | const ParseText & | other | ) | [inline] |
Copy constructor.
| YGP::ParseText::~ParseText | ( | ) | [virtual] |
Destructor.
| int YGP::ParseText::checkValue | ( | char | ch | ) | [protected, virtual] |
Checks if the parsed value is according the abort-list of the object.
Valid are every characters NOT in pValue.
| ch | Char to check |
Reimplemented from YGP::ParseAttomic.
Reimplemented in YGP::ParseTextEsc, YGP::ParseQuoted, and YGP::ParseQuotedEsc.