|
Teuchos - Trilinos Tools Package
Version of the Day
|
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject. More...
#include <Teuchos_XMLInputSource.hpp>
Public Member Functions | |
| XMLInputSource () | |
| Empty constructor. | |
| virtual | ~XMLInputSource () |
| Destructor. | |
| virtual RCP< XMLInputStream > | stream () const =0 |
| Virtual input source interface. | |
| XMLObject | getObject () const |
| Get an object by invoking the TreeBuildingXMLHandler on the input data. | |
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject.
The source might be a file, a socket, a std::string. The XMLObject is created with a call to the getObject() method.
The source gets its data from a XMLInputStream object that is created (internally) to work with this source.
--enable-expat. Definition at line 71 of file Teuchos_XMLInputSource.hpp.
| Teuchos::XMLInputSource::XMLInputSource | ( | ) | [inline] |
Empty constructor.
Definition at line 75 of file Teuchos_XMLInputSource.hpp.
| virtual Teuchos::XMLInputSource::~XMLInputSource | ( | ) | [inline, virtual] |
Destructor.
Definition at line 78 of file Teuchos_XMLInputSource.hpp.
| virtual RCP<XMLInputStream> Teuchos::XMLInputSource::stream | ( | ) | const [pure virtual] |
Virtual input source interface.
Implemented in Teuchos::StringInputSource, and Teuchos::FileInputSource.
| XMLObject XMLInputSource::getObject | ( | ) | const |
Get an object by invoking the TreeBuildingXMLHandler on the input data.
Definition at line 55 of file Teuchos_XMLInputSource.cpp.
1.7.6.1