Construct a formatter that writes to the specified output streambuf using the specified encoderOptions and formatting parameters.
Declared in <balxml_formatter.h>
Formatter(
std::streambuf* output,
EncoderOptions const& encoderOptions,
int indentLevel = 0,
int spacesPerLevel = 4,
int wrapColumn = 80,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| output | streambuf to which XML is written |
| encoderOptions | options controlling XML encoding |
| indentLevel | initial indentation level |
| spacesPerLevel | spaces per indentation level |
| wrapColumn | column at which to wrap lines, or special value |
| basicAllocator | memory allocator; null uses the default |