[#BloombergLP-balxml-Decoder-2constructor-0ec] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Decoder.adoc[Decoder]::Decoder :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_decoder.h>` Construct a decoder using the specified `options`, `reader`, `errInfo`, and `basicAllocator`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Decoder/2constructor-0e1.adoc[Decoder]( xref:BloombergLP/balxml/DecoderOptions.adoc[DecoderOptions] const* options, xref:BloombergLP/balxml/Reader.adoc[Reader]* reader, xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo]* errInfo, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/balxml/Decoder/2constructor-0e1.adoc[_» more..._]# Construct a decoder using the specified `options` and `reader`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Decoder/2constructor-0c.adoc[Decoder]( xref:BloombergLP/balxml/DecoderOptions.adoc[DecoderOptions] const* options, xref:BloombergLP/balxml/Reader.adoc[Reader]* reader, xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo]* errInfo = 0, std::ostream* errorStream = 0, std::ostream* warningStream = 0, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/Decoder/2constructor-0c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#