Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

balxml::Encoder_OptionsCompatibilityUtil Struct Reference

#include <balxml_encoder.h>

List of all members.

Static Public Member Functions

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

Detailed Description

Component-private struct. Do not use.

This struct provides a namespace for a suite of functions used to compute the options for the underlying XML formatter used by the encoder, given the encoder's options.

See Component balxml_encoder


Member Function Documentation

static void balxml::Encoder_OptionsCompatibilityUtil::getFormatterOptions ( int *  formatterIndentLevel,
int *  formatterSpacesPerLevel,
int *  formatterWrapColumn,
EncoderOptions formatterOptions,
const EncoderOptions encoderOptions 
) [static]

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.


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