Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Teuchos_YamlParser.cpp File Reference
#include <iostream>
#include <iomanip>
#include <ios>
#include <sstream>
#include <cctype>
#include <fstream>
#include "Teuchos_YamlParser_decl.hpp"
#include "Teuchos_XMLParameterListCoreHelpers.hpp"
#include "Teuchos_YamlParameterListCoreHelpers.hpp"
#include "Teuchos_TwoDArray.hpp"
#include "Teuchos_Reader.hpp"
#include "Teuchos_YAML.hpp"
Include dependency graph for Teuchos_YamlParser.cpp:

Go to the source code of this file.

Classes

struct  Teuchos::PLPair
 
struct  Teuchos::Scalar
 
class  Teuchos::YAMLParameterList::Reader
 
struct  Teuchos::YAMLParameterList::YamlWrite< T >
 
struct  Teuchos::YAMLParameterList::YamlWrite< double >
 
struct  Teuchos::YAMLParameterList::YamlWrite< std::string >
 

Namespaces

 Teuchos
 
 Teuchos::YAMLParameterList
 

Functions

std::string Teuchos::remove_trailing_whitespace (std::string const &in)
 
std::string Teuchos::remove_trailing_whitespace_and_newlines (std::string const &in)
 
template<typename T >
bool Teuchos::is_parseable_as (std::string const &text)
 
template<>
bool Teuchos::is_parseable_as< int > (std::string const &text)
 
template<typename T >
Teuchos::parse_as (std::string const &text)
 
static char Teuchos::my_tolower (char ch)
 
static bool Teuchos::my_isdigit (char ch)
 
template<>
bool Teuchos::is_parseable_as< bool > (std::string const &text)
 
template<>
bool Teuchos::parse_as< bool > (std::string const &text)
 
bool Teuchos::operator== (Scalar const &, Scalar const &)
 
std::ostream & Teuchos::operator<< (std::ostream &os, Scalar const &)
 
void Teuchos::safe_set_entry (ParameterList &list, std::string const &name_in, ParameterEntry const &entry_in)
 
void Teuchos::updateParametersFromYamlFile (const std::string &yamlFileName, const Teuchos::Ptr< Teuchos::ParameterList > &paramList)
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void 
Teuchos::updateParametersFromYamlCString (const char *const data, const Teuchos::Ptr< Teuchos::ParameterList > &paramList, bool overwrite)
 
void Teuchos::updateParametersFromYamlString (const std::string &yamlData, const Teuchos::Ptr< Teuchos::ParameterList > &paramList, bool overwrite, const std::string &name)
 
Teuchos::RCP
< Teuchos::ParameterList
Teuchos::getParametersFromYamlFile (const std::string &yamlFileName)
 
Teuchos::RCP
< Teuchos::ParameterList
Teuchos::getParametersFromYamlString (const std::string &yamlStr)
 
void Teuchos::writeParameterListToYamlOStream (const ParameterList &paramList, std::ostream &yamlOut)
 
void Teuchos::writeParameterListToYamlFile (const ParameterList &paramList, const std::string &yamlFileName)
 
std::string Teuchos::convertXmlToYaml (const std::string &xmlFileName)
 
void Teuchos::convertXmlToYaml (const std::string &xmlFileName, const std::string &yamlFileName)
 
void Teuchos::convertXmlToYaml (std::istream &xmlStream, std::ostream &yamlStream)
 
Teuchos::RCP
< Teuchos::ParameterList
Teuchos::YAMLParameterList::parseYamlText (const std::string &text, const std::string &name)
 
Teuchos::RCP
< Teuchos::ParameterList
Teuchos::YAMLParameterList::parseYamlFile (const std::string &yamlFile)
 
Teuchos::RCP
< Teuchos::ParameterList
Teuchos::YAMLParameterList::parseYamlStream (std::istream &yaml)
 
void Teuchos::YAMLParameterList::writeYamlStream (std::ostream &yaml, const Teuchos::ParameterList &pl)
 
void Teuchos::YAMLParameterList::writeYamlFile (const std::string &yamlFile, const Teuchos::ParameterList &pl)
 
void Teuchos::YAMLParameterList::writeParameterList (const Teuchos::ParameterList &pl, std::ostream &yaml, int indentLevel)
 
template<typename T >
void Teuchos::YAMLParameterList::writeYamlTwoDArray (Teuchos::TwoDArray< T > const &arr, std::ostream &stream)
 
void Teuchos::YAMLParameterList::writeParameter (const std::string &paramName, const Teuchos::ParameterEntry &entry, std::ostream &yaml, int indentLevel)
 
void Teuchos::YAMLParameterList::generalWriteString (const std::string &str, std::ostream &yaml)
 
void Teuchos::YAMLParameterList::generalWriteDouble (double d, std::ostream &yaml)
 
static bool Teuchos::YAMLParameterList::containsSpecialCharacters (std::string const &s)
 
bool Teuchos::YAMLParameterList::stringNeedsQuotes (const std::string &s)