Test type EncoderTestChoiceWithAllCategoriesEnumeration used by baljsn encoder tests.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

struct EncoderTestChoiceWithAllCategoriesEnumeration;

Enums

Name

Description

Unnamed enum

Number of enumerators.

Value

Enumerator values for this test enumeration.

Static Member Functions

Name

Description

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

Name

Description

CLASS_NAME

Name of this class.

ENUMERATOR_INFO_ARRAY

Enumerator metadata for this enumeration.

Friends

Name

Description

BloombergLP::baljsn::operator<<

Format the specified 'rhs' to the specified output 'stream' and return a reference to the modifiable 'stream'.

Derived Classes

Name

Description

bdlat_BasicEnumerationWrapper<baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::Value>

Specialize bdlat_BasicEnumerationWrapper for EncoderTestChoiceWithAllCategoriesEnumeration::Value.

Created with MrDocs