|
Teuchos - Trilinos Tools Package
Version of the Day
|
Go to the documentation of this file.
42 #ifndef TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
43 #define TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
72 const std::string &xmlFileName,
85 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
100 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
121 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
123 const std::string &xmlStr,
125 bool overwrite =
true
136 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
149 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
165 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
168 std::ostream &xmlOut,
185 TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
188 const std::string &xmlFileName,
196 #endif // TEUCHOS_XML_PARAMETER_LIST_CORE_HELPERS_HPP
Templated Parameter List class.
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 > getParametersFromXmlFile(const std::string &xmlFileName)
Reads XML parameters from a file and return them in a new 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 > getParametersFromXmlString(const std::string &xmlStr)
Reads XML parameters from a std::string and return them in a new parameter list.
Smart reference counting pointer class for automatic garbage collection.
Simple wrapper class for raw pointers to single objects where no persisting relationship exists.
DataStructure keeping track of dependencies.
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 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.
A list of parameters of arbitrary type.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
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.
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.