Teuchos::TreeBuildingXMLHandler Class Reference

TreeBuildingXMLHandler assembles a XMLObject from your XML input. More...

#include <Teuchos_TreeBuildingXMLHandler.hpp>

Collaboration diagram for Teuchos::TreeBuildingXMLHandler:

[legend]
List of all members.

Public Member Functions

 TreeBuildingXMLHandler ()
 Empty constructor.
const XMLObjectgetObject () const
 Retrieve the entire XML tree.
void characters (const string &chars, const unsigned int length)
 Process character data.
void endElement (const string &tag)
 Receive notification of the end of an element.
void startElement (const string &tag, const Map &attributes)
 Receive notification of the start of an element.

Private Types

typedef Teuchos::map< string,
string > 
Map

Private Attributes

XMLObject root_
XMLObject current_
std::stack< XMLObjectpath_

Detailed Description

TreeBuildingXMLHandler assembles a XMLObject from your XML input.

Definition at line 48 of file Teuchos_TreeBuildingXMLHandler.hpp.


Member Typedef Documentation

typedef Teuchos::map<string, string> Teuchos::TreeBuildingXMLHandler::Map [private]
 

Definition at line 50 of file Teuchos_TreeBuildingXMLHandler.hpp.


Constructor & Destructor Documentation

TreeBuildingXMLHandler::TreeBuildingXMLHandler  ) 
 

Empty constructor.

Definition at line 35 of file Teuchos_TreeBuildingXMLHandler.cpp.


Member Function Documentation

const XMLObject& Teuchos::TreeBuildingXMLHandler::getObject  )  const [inline]
 

Retrieve the entire XML tree.

Definition at line 56 of file Teuchos_TreeBuildingXMLHandler.hpp.

void TreeBuildingXMLHandler::characters const string &  chars,
const unsigned int  length
 

Process character data.

Definition at line 41 of file Teuchos_TreeBuildingXMLHandler.cpp.

void TreeBuildingXMLHandler::endElement const string &  tag  ) 
 

Receive notification of the end of an element.

Definition at line 74 of file Teuchos_TreeBuildingXMLHandler.cpp.

void TreeBuildingXMLHandler::startElement const string &  tag,
const Map attributes
 

Receive notification of the start of an element.

Definition at line 51 of file Teuchos_TreeBuildingXMLHandler.cpp.


Member Data Documentation

XMLObject Teuchos::TreeBuildingXMLHandler::root_ [private]
 

Definition at line 69 of file Teuchos_TreeBuildingXMLHandler.hpp.

XMLObject Teuchos::TreeBuildingXMLHandler::current_ [private]
 

Definition at line 70 of file Teuchos_TreeBuildingXMLHandler.hpp.

std::stack<XMLObject> Teuchos::TreeBuildingXMLHandler::path_ [private]
 

Definition at line 71 of file Teuchos_TreeBuildingXMLHandler.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:41:21 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1