rapidyaml 0.15.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::yml::WriterFile Struct Reference

A writer that outputs to a C file handle, defaulting to stdout. More...

#include <writer.hpp>

Public Member Functions

 WriterFile (FILE *f=nullptr)
substr _get (bool) const
template<size_t N>
void _do_write (const char(&a)[N]) noexcept
void _do_write (csubstr s) noexcept
void _do_write (const char c) noexcept
void _do_write (const char c, size_t num_times) noexcept

Public Attributes

FILE * m_file
size_t m_pos

Detailed Description

A writer that outputs to a C file handle, defaulting to stdout.

This writer is much faster than WriterOStream and should be preferred to it.

Definition at line 32 of file writer.hpp.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.15.0/src/c4/yml/writer.hpp