10#ifndef TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
11#define TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
40 const std::string &xmlFileName,
53TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
68TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
89TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
91 const std::string &xmlStr,
104TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
117TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
133TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
136 std::ostream &xmlOut,
153TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
156 const std::string &xmlFileName,
DataStructure keeping track of dependencies.
Templated Parameter List class.
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.
ParameterList()=default
Constructor.
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,...