Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
Typedefs | Functions
Teuchos::YAMLParameterList Namespace Reference

Typedefs

typedef Teuchos::ParameterList::ConstIterator PLIter
 

Functions

Teuchos::RCP< Teuchos::ParameterListparseYamlText (const std::string &text)
 
Teuchos::RCP< Teuchos::ParameterListparseYamlText (const char *text)
 
Teuchos::RCP< Teuchos::ParameterListparseYamlFile (const std::string &yamlFile)
 
Teuchos::RCP< Teuchos::ParameterListreadParams (std::vector< YAML::Node > &lists)
 
void processMapNode (const YAML::Node &node, Teuchos::ParameterList &parent, bool topLevel)
 
void processKeyValueNode (const std::string &key, const YAML::Node &node, Teuchos::ParameterList &parent, bool topLevel)
 
void writeYamlFile (const std::string &yamlFile, Teuchos::RCP< Teuchos::ParameterList > &pl)
 
void writeParameterList (Teuchos::ParameterList &pl, std::ofstream &yaml, int indentLevel)
 
void writeParameter (const std::string &paramName, const Teuchos::ParameterEntry &entry, std::ofstream &yaml, int indentLevel)
 
void generalWriteString (const std::string &str, std::ofstream &yaml)
 
void generalWriteDouble (double d, std::ofstream &yaml)
 
bool stringNeedsQuotes (const std::string &str)
 

Typedef Documentation

◆ PLIter

Definition at line 116 of file Teuchos_YamlParser_decl.hpp.

Function Documentation

◆ parseYamlText() [1/2]

Teuchos::RCP< Teuchos::ParameterList > Teuchos::YAMLParameterList::parseYamlText ( const std::string &  text)

Definition at line 216 of file Teuchos_YamlParser.cpp.

◆ parseYamlText() [2/2]

Teuchos::RCP< Teuchos::ParameterList > Teuchos::YAMLParameterList::parseYamlText ( const char *  text)

Definition at line 223 of file Teuchos_YamlParser.cpp.

◆ parseYamlFile()

Teuchos::RCP< Teuchos::ParameterList > Teuchos::YAMLParameterList::parseYamlFile ( const std::string &  yamlFile)

Definition at line 230 of file Teuchos_YamlParser.cpp.

◆ readParams()

Teuchos::RCP< Teuchos::ParameterList > Teuchos::YAMLParameterList::readParams ( std::vector< YAML::Node > &  lists)

Definition at line 236 of file Teuchos_YamlParser.cpp.

◆ processMapNode()

void Teuchos::YAMLParameterList::processMapNode ( const YAML::Node &  node,
Teuchos::ParameterList parent,
bool  topLevel 
)

Definition at line 248 of file Teuchos_YamlParser.cpp.

◆ processKeyValueNode()

void Teuchos::YAMLParameterList::processKeyValueNode ( const std::string &  key,
const YAML::Node &  node,
Teuchos::ParameterList parent,
bool  topLevel 
)

Definition at line 275 of file Teuchos_YamlParser.cpp.

◆ writeYamlFile()

void Teuchos::YAMLParameterList::writeYamlFile ( const std::string &  yamlFile,
Teuchos::RCP< Teuchos::ParameterList > &  pl 
)

Definition at line 371 of file Teuchos_YamlParser.cpp.

◆ writeParameterList()

void Teuchos::YAMLParameterList::writeParameterList ( Teuchos::ParameterList pl,
std::ofstream &  yaml,
int  indentLevel 
)

Definition at line 387 of file Teuchos_YamlParser.cpp.

◆ writeParameter()

void Teuchos::YAMLParameterList::writeParameter ( const std::string &  paramName,
const Teuchos::ParameterEntry entry,
std::ofstream &  yaml,
int  indentLevel 
)

Definition at line 403 of file Teuchos_YamlParser.cpp.

◆ generalWriteString()

void Teuchos::YAMLParameterList::generalWriteString ( const std::string &  str,
std::ofstream &  yaml 
)

Definition at line 499 of file Teuchos_YamlParser.cpp.

◆ generalWriteDouble()

void Teuchos::YAMLParameterList::generalWriteDouble ( double  d,
std::ofstream &  yaml 
)

Definition at line 511 of file Teuchos_YamlParser.cpp.

◆ stringNeedsQuotes()

bool Teuchos::YAMLParameterList::stringNeedsQuotes ( const std::string &  str)

Definition at line 526 of file Teuchos_YamlParser.cpp.