Test type EncoderTestSequenceWithAllCategoriesEnumeration used by baljsn encoder tests.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

struct EncoderTestSequenceWithAllCategoriesEnumeration;

Enums

Name

Description

Unnamed enum

Number of enumerators in Value.

Value

Enumerator values for this test enumeration.

Static Member Functions

Name

Description

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

Name

Description

CLASS_NAME

Name of this class.

ENUMERATOR_INFO_ARRAY

Array of enumerator metadata for this type.

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