ROSE  0.11.87.0
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 <Rose/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. More...
 
size_t ScalarMaxLength
 Maximum length of scalars. More...
 
bool SequenceMapNewline
 Put maps on a new line if parent node is a sequence. More...
 
bool MapScalarNewline
 Put scalars on a new line if parent node is a map. More...
 

Constructor & Destructor Documentation

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

size_t Rose::Yaml::SerializeConfig::SpaceIndentation

Number of spaces per indentation.

Definition at line 537 of file Yaml.h.

size_t Rose::Yaml::SerializeConfig::ScalarMaxLength

Maximum length of scalars.

Serialized as folder scalars if exceeded.

Definition at line 538 of file Yaml.h.

bool Rose::Yaml::SerializeConfig::SequenceMapNewline

Put maps on a new line if parent node is a sequence.

Definition at line 539 of file Yaml.h.

bool Rose::Yaml::SerializeConfig::MapScalarNewline

Put scalars on a new line if parent node is a map.

Definition at line 540 of file Yaml.h.


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