BloombergLP::baljsn::EncodingStyle

Enumeration of encoding style (COMPACT or PRETTY).

Synopsis

Declared in <baljsn_encodingstyle.h>

struct EncodingStyle;

Enums

NameDescription
Unnamed enum Enumerator count constant.
Value Encoding style enumerator values.

Static Member Functions

NameDescription
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).
fromString fromString overloads
print Write to the specified stream the string representation of the specified enumeration value. Return a reference to the modifiable stream.
toString Return the string representation exactly matching the enumerator name corresponding to the specified enumeration value.

Static Data Members

NameDescription
CLASS_NAME Name of this class.
ENUMERATOR_INFO_ARRAY Enumerator metadata for this type.