Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions | 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:
Teuchos::XMLInputSource

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...
 
virtual RCP< XMLInputStreamstream () const =0
 Virtual input source interface. More...
 
XMLObject getObject () const
 Get an object by invoking the TreeBuildingXMLHandler on the input data. More...
 

Detailed Description

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

Definition at line 62 of file Teuchos_StringInputSource.hpp.

Constructor & Destructor Documentation

◆ StringInputSource()

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

Constructor.

Definition at line 48 of file Teuchos_StringInputSource.cpp.

◆ ~StringInputSource()

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

Destructor.

Definition at line 69 of file Teuchos_StringInputSource.hpp.

Member Function Documentation

◆ stream()

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

Create a StringInputStream.

Implements Teuchos::XMLInputSource.

Definition at line 52 of file Teuchos_StringInputSource.cpp.


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