Construct a formatter that writes to the specified output stream using the specified encoderOptions and formatting parameters.
Synopsis
Declared in <balxml_formatter.h>
Formatter(
std::ostream& output,
EncoderOptions const& encoderOptions,
int indentLevel = 0,
int spacesPerLevel = 4,
int wrapColumn = 80,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
output |
stream 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 |
Created with MrDocs