[#BloombergLP-bdlat_BasicEnumerationWrapper-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_BasicEnumerationWrapper-0f7.adoc[bdlat_BasicEnumerationWrapper]<xref:BloombergLP/balxml/EncodingStyle/Value.adoc[balxml::EncodingStyle::Value]> :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<balxml_encodingstyle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bdlat_BasicEnumerationWrapper-0f7.adoc[bdlat_BasicEnumerationWrapper]<xref:BloombergLP/balxml/EncodingStyle/Value.adoc[balxml::EncodingStyle::Value]> : xref:BloombergLP/balxml/EncodingStyle.adoc[balxml::EncodingStyle] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/balxml/EncodingStyle.adoc[balxml::EncodingStyle]` | Enumeration of encoding style (COMPACT or PRETTY). This struct is generated using bas_codegen.pl called by balxml/code_from_xsd.pl |=== == Type Aliases [cols="1"] |=== | Name | xref:BloombergLP/bdlat_BasicEnumerationWrapper-0b/Wrapper.adoc[`Wrapper`] |=== == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/EncodingStyle/_04enum.adoc[`Unnamed enum`] | The number of enumerators defined by this type. | xref:BloombergLP/balxml/EncodingStyle/Value.adoc[`Value`] | Enumerators describing XML encoding style. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/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/balxml/EncodingStyle/fromString-07.adoc[`fromString`] | `fromString` overloads | xref:BloombergLP/balxml/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/balxml/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/balxml/EncodingStyle/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class for use in XML serialization. | xref:BloombergLP/balxml/EncodingStyle/ENUMERATOR_INFO_ARRAY.adoc[`ENUMERATOR_INFO_ARRAY`] | Enumerator metadata array for `bdlat` serialization of this type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#