Cantera
3.0.0
|
#include "cantera/base/AnyMap.h"
#include "application.h"
#include "cantera/base/yaml.h"
#include "cantera/base/stringUtils.h"
#include "cantera/base/global.h"
#include "cantera/base/utilities.h"
#include <boost/algorithm/string.hpp>
#include <fstream>
#include <mutex>
#include <unordered_set>
Go to the source code of this file.
Namespaces | |
namespace | Cantera |
Namespace for the Cantera kernel. | |
Functions | |
YAML::Emitter & | operator<< (YAML::Emitter &out, const AnyMap &rhs) |
void | emitString (YAML::Emitter &out, const string &str0) |
Write YAML strings spanning multiple lines if input includes endline ' '. | |
void | emitFlowVector (YAML::Emitter &out, const vector< double > &v, long int precision) |
Write a vector in YAML "flow" style, wrapping lines to avoid exceeding the preferred maximum line length (set by max_line_length ). | |
template<typename T > | |
void | emitFlowVector (YAML::Emitter &out, const vector< T > &v) |
Write a vector in YAML "flow" style, wrapping lines to avoid exceeding the preferred maximum line length (set by max_line_length ). | |
YAML::Emitter & | operator<< (YAML::Emitter &out, const AnyValue &rhs) |
bool | operator== (const string &lhs, const AnyValue &rhs) |
bool | operator!= (const string &lhs, const AnyValue &rhs) |
bool | operator== (const double &lhs, const AnyValue &rhs) |
bool | operator!= (const double &lhs, const AnyValue &rhs) |
bool | operator== (const long int &lhs, const AnyValue &rhs) |
bool | operator!= (const long int &lhs, const AnyValue &rhs) |
bool | operator== (const int &lhs, const AnyValue &rhs) |
bool | operator!= (const int &lhs, const AnyValue &rhs) |
AnyMap::Iterator | begin (const AnyValue &v) |
AnyMap::Iterator | end (const AnyValue &v) |
void | warn_deprecated (const string &source, const AnyBase &node, const string &message) |
A deprecation warning for syntax in an input file. | |
Variables | |
static const int | max_line_length = 87 |
YAML::Emitter & operator<< | ( | YAML::Emitter & | out, |
const AnyMap & | rhs | ||
) |
Definition at line 276 of file AnyMap.cpp.
void emitString | ( | YAML::Emitter & | out, |
const string & | str0 | ||
) |
Write YAML strings spanning multiple lines if input includes endline '
'.
Definition at line 328 of file AnyMap.cpp.
void emitFlowVector | ( | YAML::Emitter & | out, |
const vector< double > & | v, | ||
long int | precision | ||
) |
Write a vector in YAML "flow" style, wrapping lines to avoid exceeding the preferred maximum line length (set by max_line_length
).
Specialized for vector<double>
to be able to use the custom formatDouble
function with a given precision.
Definition at line 365 of file AnyMap.cpp.
void emitFlowVector | ( | YAML::Emitter & | out, |
const vector< T > & | v | ||
) |
Write a vector in YAML "flow" style, wrapping lines to avoid exceeding the preferred maximum line length (set by max_line_length
).
Definition at line 386 of file AnyMap.cpp.
YAML::Emitter & operator<< | ( | YAML::Emitter & | out, |
const AnyValue & | rhs | ||
) |
Definition at line 404 of file AnyMap.cpp.
|
static |
Definition at line 239 of file AnyMap.cpp.