[#BloombergLP-bdlat_BasicEnumerationWrapper-0e8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_BasicEnumerationWrapper-0f7.adoc[bdlat_BasicEnumerationWrapper]<xref:BloombergLP/baljsn/EncodingStyle/Value.adoc[baljsn::EncodingStyle::Value]> :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<baljsn_encodingstyle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bdlat_BasicEnumerationWrapper-0f7.adoc[bdlat_BasicEnumerationWrapper]<xref:BloombergLP/baljsn/EncodingStyle/Value.adoc[baljsn::EncodingStyle::Value]> : xref:BloombergLP/baljsn/EncodingStyle.adoc[baljsn::EncodingStyle] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/baljsn/EncodingStyle.adoc[baljsn::EncodingStyle]` | Enumeration of encoding style (COMPACT or PRETTY). |=== == Type Aliases [cols="1"] |=== | Name | xref:BloombergLP/bdlat_BasicEnumerationWrapper-0e8/Wrapper.adoc[`Wrapper`] |=== == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/_04enum.adoc[`Unnamed enum`] | Enumerator count constant. | xref:BloombergLP/baljsn/EncodingStyle/Value.adoc[`Value`] | Encoding style enumerator values. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/fromInt.adoc[`fromInt`] | Load into the specified `result` the enumerator matching the specified `number`. Return 0 on success, and a non‐zero value with no effect on `result` otherwise (i.e., `number` does not match any enumerator). | xref:BloombergLP/baljsn/EncodingStyle/fromString-00.adoc[`fromString`] | `fromString` overloads | xref:BloombergLP/baljsn/EncodingStyle/print.adoc[`print`] | Write to the specified `stream` the string representation of the specified enumeration `value`. Return a reference to the modifiable `stream`. | xref:BloombergLP/baljsn/EncodingStyle/toString.adoc[`toString`] | Return the string representation exactly matching the enumerator name corresponding to the specified enumeration `value`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/baljsn/EncodingStyle/ENUMERATOR_INFO_ARRAY.adoc[`ENUMERATOR_INFO_ARRAY`] | Enumerator metadata for this type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#