BloombergLP::balxml::Encoder::Encoder

Create an encoder using the specified options.

Synopsis

Declared in <balxml_encoder.h>

Encoder(
    EncoderOptions const* options,
    std::ostream* errorStream = 0,
    std::ostream* warningStream = 0,
    bslma::Allocator* basicAllocator = 0);

Description

Errors and warnings will be rendered to the optionally specified errorStream and warningStream respectively.

Parameters

NameDescription
optionsencoding options; held, not owned
errorStreamoptional stream for error messages
warningStreamoptional stream for warning messages
basicAllocatormemory allocator; null uses the default