BloombergLP::balxml::Encoder_OptionsCompatibilityUtil::getFormatterOptions

Load to the specified formatterIndentLevel, formatterSpacesPerLevel, and formatterWrapColumn, the number of spaces to indent the first element in the XML document, the number of spaces to use for indenting each level of nesting in the document, and the maximum horizontal column number after which the encoder should insert a line break, respectively, based on the specified encoderOptions. Load to the specified formatterOptions the options that the formatter should use to emit XML, based on the encoderOptions. The behavior is undefined unless formatterOptions has the default value.

Synopsis

Declared in <balxml_encoder.h>

static
void
getFormatterOptions(
    int* formatterIndentLevel,
    int* formatterSpacesPerLevel,
    int* formatterWrapColumn,
    EncoderOptions* formatterOptions,
    EncoderOptions const& encoderOptions);