[#BloombergLP-balxml-Encoder-2constructor-0c5] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder.adoc[Encoder]::Encoder :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_encoder.h>` Create an encoder using the specified `options` and the specified `basicAllocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Encoder/2constructor-0cc.adoc[Encoder]( xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* options, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/balxml/Encoder/2constructor-0cc.adoc[_» more..._]# Construct a encoder object using the specified `options`. Errors and warnings will be rendered to the optionally specified `errorStream` and `warningStream` respectively. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/Encoder/2constructor-08.adoc[Encoder]( xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* options, std::ostream* errorStream = 0, std::ostream* warningStream = 0, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/Encoder/2constructor-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#