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

formatting helper to escape a scalar with escape_scalar_fn() More...

#include <escape_scalar.hpp>

Public Member Functions

 escaped_scalar (csubstr s, bool keep_newl=false)

Public Attributes

csubstr scalar
bool keep_newlines

Detailed Description

formatting helper to escape a scalar with escape_scalar_fn()

Definition at line 256 of file escape_scalar.hpp.

Constructor & Destructor Documentation

◆ escaped_scalar()

c4::yml::escaped_scalar::escaped_scalar ( csubstr s,
bool keep_newl = false )
inline

Definition at line 258 of file escape_scalar.hpp.

Member Data Documentation

◆ scalar

csubstr c4::yml::escaped_scalar::scalar

Definition at line 259 of file escape_scalar.hpp.

◆ keep_newlines

bool c4::yml::escaped_scalar::keep_newlines

Definition at line 260 of file escape_scalar.hpp.


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