Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_ParameterXMLFileReader.hpp
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_PARAMETERXMLFILEREADER_H
11 #define Teuchos_PARAMETERXMLFILEREADER_H
12 
13 #include "Teuchos_ConfigDefs.hpp"
16 
17 
18 namespace Teuchos
19 {
24  {
25  public:
27  ParameterXMLFileReader(const std::string& filename);
28 
30  ParameterList getParameters() const ;
31  private:
32  FileInputSource fis_;
33  };
34 
35 }
36 #endif
37 
Writes an XML object to a parameter list.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
ParameterXMLFileReader(const std::string &filename)
Constructor.
Instantiation of XMLInputSource class for reading XML from a file.
A list of parameters of arbitrary type.
Definition of XMLInputSource derived class for reading XML from a file.