[#BloombergLP-balxml-EncodingStyle] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::EncodingStyle :relfileprefix: ../../ :mrdocs: Enumeration of encoding style (COMPACT or PRETTY). This struct is generated using bas_codegen.pl called by balxml/code_from_xsd.pl == Synopsis Declared in `<balxml_encodingstyle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct EncodingStyle; ---- == 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. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlat_BasicEnumerationWrapper-0b.adoc[`bdlat_BasicEnumerationWrapper<balxml::EncodingStyle::Value>`] | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#