Teuchos_XMLParameterListHelpers.hpp File Reference

Simple helper functions that make it easy to read and write XML to and from a parameterlist. More...

#include "Teuchos_ParameterList.hpp"

Go to the source code of this file.

Namespaces

namespace  Teuchos
 

The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.


Functions

TEUCHOS_LIB_DLL_EXPORT void Teuchos::updateParametersFromXmlFile (const std::string &xmlFileName, Teuchos::ParameterList *paramList)
 Reads XML parameters from a file and updates those already in the given parameter list.
RCP< ParameterList > Teuchos::getParametersFromXmlFile (const std::string &xmlFileName)
 Reads XML parameters from a file and return them in a new parameter list.
TEUCHOS_LIB_DLL_EXPORT void Teuchos::updateParametersFromXmlString (const std::string &xmlStr, Teuchos::ParameterList *paramList)
 Reads XML parameters from a std::string and updates those already in the given parameter list.
RCP< ParameterList > Teuchos::getParametersFromXmlString (const std::string &xmlStr)
 Reads XML parameters from a std::string and return them in a new parameter list.
TEUCHOS_LIB_DLL_EXPORT void Teuchos::writeParameterListToXmlOStream (const Teuchos::ParameterList &paramList, std::ostream &xmlOut)
 Write parameters and sublists in XML format to an std::ostream.
TEUCHOS_LIB_DLL_EXPORT void Teuchos::writeParameterListToXmlFile (const Teuchos::ParameterList &paramList, const std::string &xmlFileName)
 Write parameters and sublist to an XML file.

Detailed Description

Simple helper functions that make it easy to read and write XML to and from a parameterlist.

Definition in file Teuchos_XMLParameterListHelpers.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:45 2011 for Teuchos - Trilinos Tools Package by  doxygen 1.6.3