42 #ifndef TEUCHOS_XMLPARSER_H
43 #define TEUCHOS_XMLPARSER_H
77 #pragma warning(disable:4251)
87 inline static bool isLetter(
unsigned char c);
89 inline static bool isNameChar(
unsigned char c);
91 inline static bool isChar(
unsigned char c);
93 inline static bool isSpace(
unsigned char c);
101 void getETag(std::string &tag);
119 void getSTag(
unsigned char lookahead, std::string &tag, Teuchos::map<std::string,string> &attrs,
bool &emptytag);
124 void getComment(
long startLine);
133 int getSpace(
unsigned char &lookahead);
141 void getReference(std::string &refstr);
145 void ignoreXMLDeclaration();
155 int assertChar(
unsigned char cexp);
XMLParser(RCP< XMLInputStream > is)
Constructor.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
RCP< XMLInputStream > _is
XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuilding...
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
Teuchos::map< std::string, string > _entities
#define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
Smart reference counting pointer class for automatic garbage collection.
An object representation of a subset of XML data.