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"

Include dependency graph for Teuchos_XMLParameterListHelpers.hpp:

This graph shows which files directly or indirectly include this file:

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

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.
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.
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 Oct 21 14:27:36 2009 for Teuchos - Trilinos Tools Package by  doxygen 1.5.9