ROSE  0.11.96.11
Public Member Functions | Public Attributes | List of all members
Rose::Yaml::SerializeConfig Struct Reference

Description

Serialization configuration structure, describing output behavior.

Definition at line 524 of file Yaml.h.

#include <Yaml.h>

Public Member Functions

 SerializeConfig (const size_t spaceIndentation=2, const size_t scalarMaxLength=64, const bool sequenceMapNewline=false, const bool mapScalarNewline=false)
 Constructor. More...
 

Public Attributes

size_t SpaceIndentation
 Number of spaces per indentation.
 
size_t ScalarMaxLength
 Maximum length of scalars. More...
 
bool SequenceMapNewline
 Put maps on a new line if parent node is a sequence.
 
bool MapScalarNewline
 Put scalars on a new line if parent node is a map.
 

Constructor & Destructor Documentation

◆ SerializeConfig()

Rose::Yaml::SerializeConfig::SerializeConfig ( const size_t  spaceIndentation = 2,
const size_t  scalarMaxLength = 64,
const bool  sequenceMapNewline = false,
const bool  mapScalarNewline = false 
)

Constructor.

Parameters
spaceIndentationNumber of spaces per indentation.
scalarMaxLengthMaximum length of scalars. Serialized as folder scalars if exceeded. Ignored if equal to 0.
sequenceMapNewlinePut maps on a new line if parent node is a sequence.
mapScalarNewlinePut scalars on a new line if parent node is a map.

Member Data Documentation

◆ ScalarMaxLength

size_t Rose::Yaml::SerializeConfig::ScalarMaxLength

Maximum length of scalars.

Serialized as folder scalars if exceeded.

Definition at line 538 of file Yaml.h.


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