Constructors

Synopses

Declared in <balxml_decoder.h>

Construct a decoder using the specified options, reader, errInfo, and basicAllocator.

Decoder(
    DecoderOptions const* options,
    Reader* reader,
    ErrorInfo* errInfo,
    bslma::Allocator* basicAllocator);

Construct a decoder using the specified options and reader.

Decoder(
    DecoderOptions const* options,
    Reader* reader,
    ErrorInfo* errInfo = 0,
    std::ostream* errorStream = 0,
    std::ostream* warningStream = 0,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

options

decoder options; held, not owned

reader

XML reader used for parsing; held, not owned

errInfo

error‐info structure; held, not owned

basicAllocator

allocator used to supply memory

errorStream

optional stream for error messages; held, not owned

warningStream

optional stream for warning messages; held, not owned

Created with MrDocs