BloombergLP::balxml::Decoder::Decoder

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);
» more...

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);
» more...

Parameters

NameDescription
optionsdecoder options; held, not owned
readerXML reader used for parsing; held, not owned
errInfoerror-info structure; held, not owned
basicAllocatorallocator used to supply memory
errorStreamoptional stream for error messages; held, not owned
warningStreamoptional stream for warning messages; held, not owned