Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
TreeBuildingXMLHandler assembles a XMLObject from your XML input. More...
#include <Teuchos_TreeBuildingXMLHandler.hpp>
Public Member Functions | |
TreeBuildingXMLHandler () | |
Empty constructor. More... | |
const XMLObject & | getObject () const |
Retrieve the entire XML tree. More... | |
void | characters (const std::string &chars) |
Process character data. More... | |
int | endElement (const std::string &tag) |
Receive notification of the end of an element. More... | |
void | startElement (const std::string &tag, const Map &attributes) |
Receive notification of the start of an element. More... | |
Private Types | |
typedef Teuchos::map < std::string, std::string > | Map |
Private Attributes | |
XMLObject | root_ |
XMLObject | current_ |
std::stack< XMLObject > | path_ |
TreeBuildingXMLHandler assembles a XMLObject from your XML input.
Definition at line 29 of file Teuchos_TreeBuildingXMLHandler.hpp.
|
private |
Definition at line 31 of file Teuchos_TreeBuildingXMLHandler.hpp.
TreeBuildingXMLHandler::TreeBuildingXMLHandler | ( | ) |
Empty constructor.
Definition at line 16 of file Teuchos_TreeBuildingXMLHandler.cpp.
|
inline |
Retrieve the entire XML tree.
Definition at line 37 of file Teuchos_TreeBuildingXMLHandler.hpp.
void TreeBuildingXMLHandler::characters | ( | const std::string & | chars | ) |
Process character data.
Definition at line 22 of file Teuchos_TreeBuildingXMLHandler.cpp.
int TreeBuildingXMLHandler::endElement | ( | const std::string & | tag | ) |
Receive notification of the end of an element.
Definition at line 68 of file Teuchos_TreeBuildingXMLHandler.cpp.
void TreeBuildingXMLHandler::startElement | ( | const std::string & | tag, |
const Map & | attributes | ||
) |
Receive notification of the start of an element.
Definition at line 45 of file Teuchos_TreeBuildingXMLHandler.cpp.
|
private |
Definition at line 59 of file Teuchos_TreeBuildingXMLHandler.hpp.
|
private |
Definition at line 60 of file Teuchos_TreeBuildingXMLHandler.hpp.
|
private |
Definition at line 61 of file Teuchos_TreeBuildingXMLHandler.hpp.