Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Teuchos::StringInputSource Class Reference

Instantiation of XMLInputSource class for reading XML from a std::string. More...

#include <Teuchos_StringInputSource.hpp>

Inheritance diagram for Teuchos::StringInputSource:
Inheritance graph
[legend]

Public Member Functions

 StringInputSource (const std::string &text)
 Constructor. More...
 
virtual ~StringInputSource ()
 Destructor. More...
 
virtual RCP< XMLInputStreamstream () const
 Create a StringInputStream. More...
 
- Public Member Functions inherited from Teuchos::XMLInputSource
 XMLInputSource ()
 Empty constructor. More...
 
virtual ~XMLInputSource ()
 Destructor. More...
 
XMLObject getObject () const
 Get an object by invoking the TreeBuildingXMLHandler on the input data. More...
 

Private Attributes

std::string text_
 

Detailed Description

Instantiation of XMLInputSource class for reading XML from a std::string.

Definition at line 30 of file Teuchos_StringInputSource.hpp.

Constructor & Destructor Documentation

StringInputSource::StringInputSource ( const std::string &  text)

Constructor.

Definition at line 16 of file Teuchos_StringInputSource.cpp.

virtual Teuchos::StringInputSource::~StringInputSource ( )
inlinevirtual

Destructor.

Definition at line 37 of file Teuchos_StringInputSource.hpp.

Member Function Documentation

RCP< XMLInputStream > StringInputSource::stream ( ) const
virtual

Create a StringInputStream.

Implements Teuchos::XMLInputSource.

Definition at line 20 of file Teuchos_StringInputSource.cpp.

Member Data Documentation

std::string Teuchos::StringInputSource::text_
private

Definition at line 43 of file Teuchos_StringInputSource.hpp.


The documentation for this class was generated from the following files: