ROSE
0.11.96.11
|
Serialization configuration structure, describing output behavior.
#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. | |
Rose::Yaml::SerializeConfig::SerializeConfig | ( | const size_t | spaceIndentation = 2 , |
const size_t | scalarMaxLength = 64 , |
||
const bool | sequenceMapNewline = false , |
||
const bool | mapScalarNewline = false |
||
) |
Constructor.
spaceIndentation | Number of spaces per indentation. |
scalarMaxLength | Maximum length of scalars. Serialized as folder scalars if exceeded. Ignored if equal to 0. |
sequenceMapNewline | Put maps on a new line if parent node is a sequence. |
mapScalarNewline | Put scalars on a new line if parent node is a map. |
size_t Rose::Yaml::SerializeConfig::ScalarMaxLength |