Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
Teuchos::YAMLParameterList Namespace Reference

Classes

class  Reader
 
struct  YamlWrite
 
struct  YamlWrite< double >
 
struct  YamlWrite< std::string >
 

Typedefs

typedef
Teuchos::ParameterList::ConstIterator 
PLIter
 

Functions

Teuchos::RCP
< Teuchos::ParameterList
parseYamlText (const std::string &text, const std::string &name)
 
Teuchos::RCP
< Teuchos::ParameterList
parseYamlFile (const std::string &yamlFile)
 
Teuchos::RCP
< Teuchos::ParameterList
parseYamlStream (std::istream &yaml)
 
void writeYamlStream (std::ostream &yaml, const Teuchos::ParameterList &pl)
 
void writeYamlFile (const std::string &yamlFile, const Teuchos::ParameterList &pl)
 
void writeParameterList (const Teuchos::ParameterList &pl, std::ostream &yaml, int indentLevel)
 
template<typename T >
void writeYamlTwoDArray (Teuchos::TwoDArray< T > const &arr, std::ostream &stream)
 
void writeParameter (const std::string &paramName, const Teuchos::ParameterEntry &entry, std::ostream &yaml, int indentLevel)
 
void generalWriteString (const std::string &str, std::ostream &yaml)
 
void generalWriteDouble (double d, std::ostream &yaml)
 
static bool containsSpecialCharacters (std::string const &s)
 
bool stringNeedsQuotes (const std::string &s)
 

Typedef Documentation

Definition at line 158 of file Teuchos_YamlParser_decl.hpp.

Function Documentation

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

Definition at line 1197 of file Teuchos_YamlParser.cpp.

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

Definition at line 1211 of file Teuchos_YamlParser.cpp.

Teuchos::RCP< Teuchos::ParameterList > Teuchos::YAMLParameterList::parseYamlStream ( std::istream &  yaml)

Definition at line 1225 of file Teuchos_YamlParser.cpp.

void Teuchos::YAMLParameterList::writeYamlStream ( std::ostream &  yaml,
const Teuchos::ParameterList pl 
)

Definition at line 1473 of file Teuchos_YamlParser.cpp.

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

Definition at line 1513 of file Teuchos_YamlParser.cpp.

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

Definition at line 1526 of file Teuchos_YamlParser.cpp.

template<typename T >
void Teuchos::YAMLParameterList::writeYamlTwoDArray ( Teuchos::TwoDArray< T > const &  arr,
std::ostream &  stream 
)

Definition at line 1564 of file Teuchos_YamlParser.cpp.

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

Definition at line 1582 of file Teuchos_YamlParser.cpp.

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

Definition at line 1724 of file Teuchos_YamlParser.cpp.

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

Definition at line 1742 of file Teuchos_YamlParser.cpp.

static bool Teuchos::YAMLParameterList::containsSpecialCharacters ( std::string const &  s)
static

Definition at line 1747 of file Teuchos_YamlParser.cpp.

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

Definition at line 1752 of file Teuchos_YamlParser.cpp.