#include <AsciiXmlParser.hpp>
Definition at line 29 of file AsciiXmlParser.hpp.
Public Member Functions | |
| AsciiXmlParser (bool const isVerbose=false) | |
| void | closeFile () |
| bool | currentElementNameMatches (std::string const &comparisonString) const |
| std::map< std::string, std::string > const & | getCurrentElementAttributes () |
| std::string const & | getCurrentElementContent () const |
| std::string const & | getCurrentElementName () const |
| std::string const & | getCurrentOpeningTagAsFound () const |
| std::pair< int, int > const & | getLineRangeOfCurrentElement () const |
| std::string | getTrimmedCurrentElementContent () const |
| bool | loadString (std::string const stringToParse) |
| bool | openRootElementOfFile (std::string const &fileName) |
| bool | readAllOfRootElementOfFile (std::string const &fileName) |
| bool | readNextElement () |
| void | returnToBeginningOfText () |
| ~AsciiXmlParser () | |
Protected Member Functions | |
| bool | closeMarkup (size_t const startPosition=0) |
| bool | compareMarkupEnd (std::string const &comparisonString) const |
| bool | compareMarkupStart (std::string const &comparisonString) const |
| bool | discardToNextMarkup () |
| bool | discardToNextTag () |
| bool | eraseQuotedStringsInMarkup (size_t const startPosition) |
| bool | ignoreDelimited (std::pair< std::string, std::string > const &delimitingStrings) |
| bool | parseAttributes () |
| bool | parseTagName (std::string &nameDestination) |
| bool | readCharacter () |
| bool | recordDelimited (std::pair< std::string, std::string > const &delimitingStrings) |
| void | recordTagTo (std::string &recordingString) |
| bool | recordTo (std::string &recordingString, char const endChar) |
| bool | recordToEndOfElement () |
| bool | recordToNextMarkup () |
| bool | recordToNextTag () |
| void | resetContent () |
| bool | skipPrologAndOpenRootElement () |
Protected Attributes | |
| std::string | closingTag |
| int | closingTagsToFind |
| std::pair< std::string, std::string > | currentAttribute |
| char | currentChar |
| char | currentQuoteChar |
| std::string | currentTagName |
| std::map< std::string, std::string > | elementAttributeMap |
| std::pair< int, int > | elementLineRange |
| std::string | elementName |
| std::ifstream | fileParsingStream |
| std::string | fullElementContentAsFound |
| std::string | fullOpeningTagAsFound |
| bool const | isVerbose |
| std::string | markupString |
| int | newlinesBeforeMarkup |
| size_t | parseEnd |
| size_t | parseStart |
| size_t | previousLength |
| int | readNewlines |
| std::map< std::string, std::string > | rootAttributeMap |
| std::pair< int, int > | rootLineRange |
| std::string | rootTag |
| bool | streamIsGood |
| std::istringstream | stringParsingStream |
| std::istream * | textStream |
Static Protected Attributes | |
| static std::string const | allowedXmlQuoteChars |
| static std::string const | allowedXmlWhitespaceChars |
| static std::pair< std::string, std::string > const | cdataDelimiter |
| static std::pair< std::string, std::string > const | commentDelimiter |
| static std::pair< std::string, std::string > const | doctypeDelimiter |
| static char const | markupCloser |
| static char const | markupOpener |
| static std::pair< std::string, std::string > const | piDelimiter |
| static char const | tagCloser |
| BOL::AsciiXmlParser::AsciiXmlParser | ( | bool const | isVerbose = false | ) |
Definition at line 36 of file AsciiXmlParser.cpp.
| BOL::AsciiXmlParser::~AsciiXmlParser | ( | ) |
Definition at line 69 of file AsciiXmlParser.cpp.
|
inline |
Definition at line 287 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 116 of file AsciiXmlParser.cpp.
|
inlineprotected |
Definition at line 521 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 508 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 331 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 429 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 449 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 260 of file AsciiXmlParser.cpp.
|
inline |
Definition at line 357 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 338 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 325 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 351 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 363 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 344 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 178 of file AsciiXmlParser.cpp.
|
inline |
Definition at line 273 of file AsciiXmlParser.hpp.
| bool BOL::AsciiXmlParser::openRootElementOfFile | ( | std::string const & | fileName | ) |
Definition at line 79 of file AsciiXmlParser.cpp.
|
protected |
Definition at line 287 of file AsciiXmlParser.cpp.
|
inlineprotected |
Definition at line 545 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 248 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 394 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 309 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 214 of file AsciiXmlParser.cpp.
|
inlineprotected |
Definition at line 533 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 411 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 360 of file AsciiXmlParser.cpp.
|
inlineprotected |
Definition at line 472 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 485 of file AsciiXmlParser.hpp.
|
inlineprotected |
Definition at line 375 of file AsciiXmlParser.hpp.
|
inline |
Definition at line 299 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 418 of file AsciiXmlParser.cpp.
|
staticprotected |
Definition at line 97 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 96 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 101 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 129 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 130 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 98 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 128 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 121 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 127 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 131 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 100 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 116 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 117 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 110 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 104 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 111 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 114 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 103 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 94 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 93 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 119 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 123 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 125 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 124 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 99 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 126 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 122 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 108 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 109 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 107 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 120 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 105 of file AsciiXmlParser.hpp.
|
staticprotected |
Definition at line 95 of file AsciiXmlParser.hpp.
|
protected |
Definition at line 106 of file AsciiXmlParser.hpp.