rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
emit_ostream.hpp File Reference

emit to STL-like ostreams More...

Go to the source code of this file.

Classes

struct  c4::yml::as_json
 tag type to mark a tree or node to be emitted as yaml when using operator<<, with options. More...
struct  c4::yml::as_yaml
 tag type to mark a tree or node to be emitted as yaml when using operator<< . More...

Namespaces

namespace  c4
 (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message.
namespace  c4::yml

Typedefs

template<class OStream>
using c4::yml::EmitterOStream = Emitter<WriterOStream<OStream>>

Functions

template<class OStream>
OStream & c4::yml::operator<< (OStream &stream, Tree const &tree)
 emit YAML to an STL-like ostream
template<class OStream>
OStream & c4::yml::operator<< (OStream &stream, ConstNodeRef const &node)
 emit YAML to an STL-like ostream This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<class OStream>
OStream & c4::yml::operator<< (OStream &stream, as_json const &json_spec)
 emit JSON to an STL-like ostream
template<class OStream>
OStream & c4::yml::operator<< (OStream &stream, as_yaml const &yaml_spec)
 emit YAML to an STL-like ostream

Detailed Description

emit to STL-like ostreams

Definition in file emit_ostream.hpp.