Doxygen
|
#include <xml.h>
Public 成员函数 | |
XMLParser (const XMLHandlers &handlers) | |
~XMLParser () | |
void | parse (const char *fileName, const char *inputString, bool debugEnabled) |
Public 成员函数 继承自 XMLLocator | |
virtual | ~XMLLocator () |
Private 成员函数 | |
virtual int | lineNr () const override |
virtual std::string | fileName () const override |
Private 属性 | |
std::unique_ptr< Private > | p |
XMLParser::XMLParser | ( | const XMLHandlers & | handlers | ) |
Creates an instance of the parser object. Different instances can run on different threads without interference.
handlers | The event handlers passed by the client. |
XMLParser::~XMLParser | ( | ) |
Destructor
|
overrideprivatevirtual |
实现了 XMLLocator.
|
overrideprivatevirtual |
实现了 XMLLocator.
void XMLParser::parse | ( | const char * | fileName, |
const char * | inputString, | ||
bool | debugEnabled | ||
) |
Parses a file gives the contents of the file as a string.
fileName | the name of the file, used for error reporting. |
inputString | the contents of the file as a zero terminated UTF-8 string. |
debugEnabled | indicates if debugging via -d lex is enabled or not. |
被这些函数引用 LayoutDocManager::init(), LayoutDocManager::parse() , 以及 parseTagFile().