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 168 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 1077 of file Teuchos_YamlParser.cpp.

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

Definition at line 1086 of file Teuchos_YamlParser.cpp.

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

Definition at line 1095 of file Teuchos_YamlParser.cpp.

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

Definition at line 1104 of file Teuchos_YamlParser.cpp.

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

Definition at line 1144 of file Teuchos_YamlParser.cpp.

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

Definition at line 1157 of file Teuchos_YamlParser.cpp.

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

Definition at line 1195 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 1213 of file Teuchos_YamlParser.cpp.

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

Definition at line 1355 of file Teuchos_YamlParser.cpp.

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

Definition at line 1373 of file Teuchos_YamlParser.cpp.

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

Definition at line 1378 of file Teuchos_YamlParser.cpp.

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

Definition at line 1383 of file Teuchos_YamlParser.cpp.