Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions | List of all members
Teuchos::FileInputSource Class Reference

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

#include <Teuchos_FileInputSource.hpp>

Inheritance diagram for Teuchos::FileInputSource:
Teuchos::XMLInputSource

Public Member Functions

 FileInputSource (const std::string &filename)
 Constructor. More...
 
virtual ~FileInputSource ()
 Destructor. More...
 
virtual RCP< XMLInputStreamstream () const
 Create a FileInputStream. 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 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.


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