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

Functions

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.
Teuchos::RCP< Teuchos::ParameterListTeuchos::getParametersFromXmlFile (const std::string &xmlFileName)
 Reads XML parameters from a file and return them in a new parameter list.
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.
Teuchos::RCP< Teuchos::ParameterListTeuchos::getParametersFromXmlString (const std::string &xmlStr)
 Reads XML parameters from a std::string and return them in a new parameter list.
void Teuchos::writeParameterListToXmlOStream (const Teuchos::ParameterList &paramList, std::ostream &xmlOut)
 Write parameters and sublists in XML format to an std::ostream.
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.


Generated on Wed May 12 21:40:33 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7