Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
FileInputSource Class Reference

Instantiation of XMLInputSource class for reading XML from a file. More...

#include <Teuchos_FileInputSource.hpp>

Inheritance diagram for FileInputSource:

Public Member Functions

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

Private Attributes

std::string filename_

Detailed Description

Instantiation of XMLInputSource class for reading XML from a file.

Definition at line 58 of file Teuchos_FileInputSource.hpp.

Constructor & Destructor Documentation

◆ FileInputSource()

FileInputSource::FileInputSource ( const std::string & filename)

Constructor.

Definition at line 48 of file Teuchos_FileInputSource.cpp.

◆ ~FileInputSource()

virtual Teuchos::FileInputSource::~FileInputSource ( )
inlinevirtual

Destructor.

Definition at line 65 of file Teuchos_FileInputSource.hpp.

Member Function Documentation

◆ stream()

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

Create a FileInputStream.

Implements Teuchos::XMLInputSource.

Definition at line 52 of file Teuchos_FileInputSource.cpp.

Member Data Documentation

◆ filename_

Definition at line 71 of file Teuchos_FileInputSource.hpp.


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