[#BloombergLP-balber-BerEncoderOptions]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerEncoderOptions
:relfileprefix: ../../
:mrdocs:

Forward declaration of `BerEncoderOptions`&period;

== Synopsis

Declared in `&lt;balber&lowbar;berencoderoptions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BerEncoderOptions;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerEncoderOptions/_04enum-0ad.adoc[`Unnamed enum`] 
| Attribute ids used by `bdlat` attribute lookup for this type&period;
| xref:BloombergLP/balber/BerEncoderOptions/_04enum-08.adoc[`Unnamed enum`] 
| The number of attributes in this type&period;
| xref:BloombergLP/balber/BerEncoderOptions/_04enum-0a3.adoc[`Unnamed enum`] 
| Attribute indices used by `bdlat` attribute lookup for this type&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerEncoderOptions/2constructor.adoc[`BerEncoderOptions`]         [.small]#[constructor]#
| Create an object of type `BerEncoderOptions` having the default value&period;
| xref:BloombergLP/balber/BerEncoderOptions/accessAttribute-0d.adoc[`accessAttribute`] 
| `accessAttribute` overloads
| xref:BloombergLP/balber/BerEncoderOptions/accessAttributes.adoc[`accessAttributes`] 
| Invoke the specified `accessor` sequentially on each attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/bdeVersionConformance-09b.adoc[`bdeVersionConformance`] 
| `bdeVersionConformance` overloads
| xref:BloombergLP/balber/BerEncoderOptions/bdexStreamIn.adoc[`bdexStreamIn`] 
| Assign to this object the value read from the specified input `stream` using the specified `version` format and return a reference to the modifiable `stream`&period;
| xref:BloombergLP/balber/BerEncoderOptions/bdexStreamOut.adoc[`bdexStreamOut`] 
| Write the value of this object to the specified output `stream` using the specified `version` format&period;
| xref:BloombergLP/balber/BerEncoderOptions/datetimeFractionalSecondPrecision.adoc[`datetimeFractionalSecondPrecision`] 
| Return the value of the &quot;DatetimeFractionalSecondPrecision&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/disableUnselectedChoiceEncoding.adoc[`disableUnselectedChoiceEncoding`] 
| Return the value of the &quot;DisableUnselectedChoiceEncoding&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/encodeArrayLengthHints.adoc[`encodeArrayLengthHints`] 
| Return the value of the &quot;EncodeArrayLengthHints&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/encodeDateAndTimeTypesAsBinary.adoc[`encodeDateAndTimeTypesAsBinary`] 
| Return the value of the &quot;EncodeDateAndTimeTypesAsBinary&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/encodeEmptyArrays.adoc[`encodeEmptyArrays`] 
| Return the value of the &quot;EncodeEmptyArrays&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/manipulateAttribute-048.adoc[`manipulateAttribute`] 
| `manipulateAttribute` overloads
| xref:BloombergLP/balber/BerEncoderOptions/manipulateAttributes.adoc[`manipulateAttributes`] 
| Invoke the specified `manipulator` sequentially on the address of each (modifiable) attribute of this object, supplying `manipulator` with the corresponding attribute information structure until such invocation returns a non&hyphen;zero value&period; Return the value from the last invocation of `manipulator` (i&period;e&period;, the invocation that terminated the sequence)&period;
| xref:BloombergLP/balber/BerEncoderOptions/preserveSignOfNegativeZero.adoc[`preserveSignOfNegativeZero`] 
| Return the value of the &quot;PreserveSignOfNegativeZero&quot; attribute of this object&period;
| xref:BloombergLP/balber/BerEncoderOptions/print.adoc[`print`] 
| Format this object to the specified output `stream`&period;
| xref:BloombergLP/balber/BerEncoderOptions/reset.adoc[`reset`] 
| Reset this object to the default value (i&period;e&period;, its value upon default construction)&period;
| xref:BloombergLP/balber/BerEncoderOptions/setDatetimeFractionalSecondPrecision.adoc[`setDatetimeFractionalSecondPrecision`] 
| Set the &quot;DatetimeFractionalSecondPrecision&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setDisableUnselectedChoiceEncoding.adoc[`setDisableUnselectedChoiceEncoding`] 
| Set the &quot;DisableUnselectedChoiceEncoding&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setEncodeArrayLengthHints.adoc[`setEncodeArrayLengthHints`] 
| Set the &quot;EncodeArrayLengthHints&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setEncodeDateAndTimeTypesAsBinary.adoc[`setEncodeDateAndTimeTypesAsBinary`] 
| Set the &quot;EncodeDateAndTimeTypesAsBinary&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setEncodeEmptyArrays.adoc[`setEncodeEmptyArrays`] 
| Set the &quot;EncodeEmptyArrays&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setPreserveSignOfNegativeZero.adoc[`setPreserveSignOfNegativeZero`] 
| Set the &quot;PreserveSignOfNegativeZero&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/setTraceLevel.adoc[`setTraceLevel`] 
| Set the &quot;TraceLevel&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/balber/BerEncoderOptions/traceLevel.adoc[`traceLevel`] 
| Return the value of the &quot;TraceLevel&quot; attribute of this object&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerEncoderOptions/lookupAttributeInfo-047.adoc[`lookupAttributeInfo`] 
| `lookupAttributeInfo` overloads
| xref:BloombergLP/balber/BerEncoderOptions/maxSupportedBdexVersion.adoc[`maxSupportedBdexVersion`] 
| Return the maximum supported `bdex` version for this type&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balber/BerEncoderOptions/ATTRIBUTE_INFO_ARRAY.adoc[`ATTRIBUTE&lowbar;INFO&lowbar;ARRAY`] 
| Attribute metadata array for `bdlat` serialization of this type&period;
| xref:BloombergLP/balber/BerEncoderOptions/CLASS_NAME.adoc[`CLASS&lowbar;NAME`] 
| Name of this class (i&period;e&period;, &quot;BerEncoderOptions&quot;)&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_BDE_VERSION_CONFORMANCE.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;BDE&lowbar;VERSION&lowbar;CONFORMANCE`] 
| Default initial value for `bdeVersionConformance`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_DATETIME_FRACTIONAL_SECOND_PRECISION.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;DATETIME&lowbar;FRACTIONAL&lowbar;SECOND&lowbar;PRECISION`] 
| Default initial value for `datetimeFractionalSecondPrecision`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_DISABLE_UNSELECTED_CHOICE_ENCODING.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;DISABLE&lowbar;UNSELECTED&lowbar;CHOICE&lowbar;ENCODING`] 
| Default initial value for `disableUnselectedChoiceEncoding`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_ENCODE_ARRAY_LENGTH_HINTS.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;ENCODE&lowbar;ARRAY&lowbar;LENGTH&lowbar;HINTS`] 
| Default initial value for `encodeArrayLengthHints`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_ENCODE_DATE_AND_TIME_TYPES_AS_BINARY.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;ENCODE&lowbar;DATE&lowbar;AND&lowbar;TIME&lowbar;TYPES&lowbar;AS&lowbar;BINARY`] 
| Default initial value for `encodeDateAndTimeTypesAsBinary`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_ENCODE_EMPTY_ARRAYS.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;ENCODE&lowbar;EMPTY&lowbar;ARRAYS`] 
| Default initial value for `encodeEmptyArrays`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_PRESERVE_SIGN_OF_NEGATIVE_ZERO.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;PRESERVE&lowbar;SIGN&lowbar;OF&lowbar;NEGATIVE&lowbar;ZERO`] 
| Default initial value for `preserveSignOfNegativeZero`&period;
| xref:BloombergLP/balber/BerEncoderOptions/DEFAULT_INITIALIZER_TRACE_LEVEL.adoc[`DEFAULT&lowbar;INITIALIZER&lowbar;TRACE&lowbar;LEVEL`] 
| Default initial value for `traceLevel`&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/balber/operator_lshift-0f.adoc[BloombergLP::balber::operator&lt;&lt;]`
| Format the specified `rhs` to the specified output `stream`&period;
| `xref:BloombergLP/balber/operator_not_eq-0c.adoc[BloombergLP::balber::operator!&equals;]`
| Return `!(lhs &equals;&equals; rhs)`&period;
| `xref:BloombergLP/balber/operator_eq-066.adoc[BloombergLP::balber::operator&equals;&equals;]`
| Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise&period; Two attribute objects have the same value if each respective attribute has the same value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
