Teuchos Package Browser (Single Doxygen Collection)
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. More... | |
virtual | ~XMLInputSource () |
Destructor. More... | |
virtual RCP< XMLInputStream > | stream () const =0 |
Virtual input source interface. More... | |
XMLObject | getObject () const |
Get an object by invoking the TreeBuildingXMLHandler on the input data. More... | |
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 39 of file Teuchos_XMLInputSource.hpp.
|
inline |
Empty constructor.
Definition at line 43 of file Teuchos_XMLInputSource.hpp.
|
inlinevirtual |
Destructor.
Definition at line 46 of file Teuchos_XMLInputSource.hpp.
|
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 23 of file Teuchos_XMLInputSource.cpp.