BloombergLP::baljsn::EncoderTestChoiceWithAllCategoriesEnumeration

Test type EncoderTestChoiceWithAllCategoriesEnumeration used by baljsn encoder tests.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

struct EncoderTestChoiceWithAllCategoriesEnumeration;

Enums

NameDescription
Unnamed enum Number of enumerators.
Value Enumerator values for this test enumeration.

Static Member Functions

NameDescription
fromInt Load into the specified result the enumerator matching the specified number.
fromString Load into result the enumerator matching the specified string.
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 enumeration.

Friends

NameDescription
BloombergLP::baljsn::operator<<Format the specified 'rhs' to the specified output 'stream' and return a reference to the modifiable 'stream'.

Derived Classes

NameDescription
bdlat_BasicEnumerationWrapper<baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::Value> Specialize bdlat_BasicEnumerationWrapper for EncoderTestChoiceWithAllCategoriesEnumeration::Value.