Create an encoder using the specified options.

Synopses

Declared in <balxml_encoder.h>

Create an encoder using the specified options.

Encoder(
    EncoderOptions const* options,
    bslma::Allocator* basicAllocator);

Create an encoder using the specified options.

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

Parameters

Name

Description

options

encoding options; held, not owned

basicAllocator

memory allocator used to supply memory

errorStream

optional stream for error messages

warningStream

optional stream for warning messages

Created with MrDocs