Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_FileInputSource.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef Teuchos_FILEINPUTSOURCE_H
11 #define Teuchos_FILEINPUTSOURCE_H
12 
17 #include "Teuchos_ConfigDefs.hpp"
19 
20 
21 namespace Teuchos
22 {
27  {
28  public:
30  FileInputSource(const std::string& filename);
31 
33  virtual ~FileInputSource(){;}
34 
36  virtual RCP<XMLInputStream> stream() const;
37 
38  private:
39  std::string filename_;
40  };
41 
42 }
43 #endif
44 
XMLInputSource represents a source of XML input that can be parsed to produce an XMLObject.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
Instantiation of XMLInputSource class for reading XML from a file.
A base class for defining a source of XML input.
#define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
Smart reference counting pointer class for automatic garbage collection.
virtual ~FileInputSource()
Destructor.