47 #ifndef TEUCHOS_YAMLPARSER_DECL_H_ 48 #define TEUCHOS_YAMLPARSER_DECL_H_ 141 #include "Teuchos_PtrDecl.hpp" 150 std::string convertXmlToYaml(
const std::string& xmlFileName);
151 void convertXmlToYaml(
const std::string& xmlFileName,
const std::string& yamlFileName);
152 void convertXmlToYaml(std::istream& xmlStream, std::ostream& yamlStream);
155 namespace YAMLParameterList
158 const std::string& name);
164 void writeParameter(
const std::string& paramName,
const Teuchos::ParameterEntry& entry, std::ostream& yaml,
int indentLevel);
165 void generalWriteString(
const std::string& str, std::ostream& yaml);
166 void generalWriteDouble(
double d, std::ostream& yaml);
167 bool stringNeedsQuotes(
const std::string& str);
Object held as the "value" in the Teuchos::ParameterList std::map.
C++ Standard Library compatable filtered iterator.
This object is held as the "value" in the Teuchos::ParameterList std::map.
Templated Parameter List class.
A list of parameters of arbitrary type.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
Reference-counted pointer class and non-member templated function implementations.