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

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

csubstr c4::yml::escaped_scalar::scalar

Definition at line 259 of file escape_scalar.hpp.

Referenced by c4::yml::dump(), and c4::yml::to_chars().

bool c4::yml::escaped_scalar::keep_newlines

Definition at line 260 of file escape_scalar.hpp.

Referenced by c4::yml::dump(), and c4::yml::to_chars().


The documentation for this struct was generated from the following file: