42#ifndef TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
43#define TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
72 const std::string &xmlFileName,
85TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
100TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
121TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
123 const std::string &xmlStr,
125 bool overwrite =
true
136TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
149TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
165TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
168 std::ostream &xmlOut,
185TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
188 const std::string &xmlFileName,
DataStructure keeping track of dependencies.
Templated Parameter List class.
A list of parameters of arbitrary type.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void updateParametersFromXmlString(const std::string &xmlStr, const Ptr< ParameterList > ¶mList, bool overwrite=true)
Reads XML parameters from a std::string and updates those already in the given parameter list.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void writeParameterListToXmlOStream(const ParameterList ¶mList, std::ostream &xmlOut, RCP< const DependencySheet > depSheet=null)
Write parameters and sublists in XML format to an std::ostream.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< ParameterList > getParametersFromXmlFile(const std::string &xmlFileName, RCP< DependencySheet > depSheet)
Reads XML parameters from a file and return them in a new parameter list.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void updateParametersFromXmlFile(const std::string &xmlFileName, const Ptr< ParameterList > ¶mList)
Reads XML parameters from a file and updates those already in the given parameter list.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< ParameterList > getParametersFromXmlString(const std::string &xmlStr)
Reads XML parameters from a std::string and return them in a new parameter list.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT void writeParameterListToXmlFile(const ParameterList ¶mList, const std::string &xmlFileName, RCP< const DependencySheet > depSheet=null)
Write parameters and sublist to an XML file.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< ParameterList > getParametersFromXmlFile(const std::string &xmlFileName)
Reads XML parameters from a file and return them in a new parameter list.
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT RCP< ParameterList > getParametersFromXmlString(const std::string &xmlStr, RCP< DependencySheet > depSheet)
Reads XML parameters from a std::string and return them in a new parameter list.
Simple wrapper class for raw pointers to single objects where no persisting relationship exists.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...