rapidyaml  0.16.0
parseandemitYAML,anddoitfast
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

 c4
 
 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 More...
 
template<class OStream >
OStream & c4::yml::operator<< (OStream &stream, ConstNodeRef const &node)
 emit YAML to an STL-like ostream More...
 
template<class OStream >
OStream & c4::yml::operator<< (OStream &stream, as_json const &json_spec)
 emit JSON to an STL-like ostream More...
 
template<class OStream >
OStream & c4::yml::operator<< (OStream &stream, as_yaml const &yaml_spec)
 emit YAML to an STL-like ostream More...
 

Detailed Description

emit to STL-like ostreams

Definition in file emit_ostream.hpp.