Create an encoder using the specified options.
Declared in <balxml_encoder.h>
Encoder(
EncoderOptions const* options,
std::ostream* errorStream = 0,
std::ostream* warningStream = 0,
bslma::Allocator* basicAllocator = 0);
Errors and warnings will be rendered to the optionally specified errorStream and warningStream respectively.
| Name | Description |
|---|---|
| options | encoding options; held, not owned |
| errorStream | optional stream for error messages |
| warningStream | optional stream for warning messages |
| basicAllocator | memory allocator; null uses the default |