Test type EncoderTestChoiceWithAllCategoriesChoice used by baljsn encoder tests.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

class EncoderTestChoiceWithAllCategoriesChoice;

Enums

Name

Description

Unnamed enum

Selection identifier constants.

Unnamed enum

Number of selections.

Unnamed enum

Selection index constants.

Member Functions

Name

Description

EncoderTestChoiceWithAllCategoriesChoice [constructor]

Constructors

~EncoderTestChoiceWithAllCategoriesChoice [destructor]

Destroy this object.

operator=

Assignment operators

accessSelection

Invoke accessor on the non‐modifiable current selection.

isSelection0Value

Return 'true' if the value of this object is a "Selection0" value, and return 'false' otherwise.

isUndefinedValue

Return 'true' if the value of this object is undefined, and 'false' otherwise.

makeSelection

makeSelection overloads

makeSelection0

makeSelection0 overloads

manipulateSelection

Invoke manipulator on the address of the current selection.

print

Format this object to the specified output stream.

reset

Reset this object to the default value (i.e., its value upon default construction).

selection0

selection0 overloads

selectionId

Return the id of the current selection if the selection is defined, and ‐1 otherwise.

selectionName

Return the symbolic name of the current selection of this object.

Static Member Functions

Name

Description

lookupSelectionInfo

lookupSelectionInfo overloads

Data Members

Name

Description

d_selection0 [variant member]

Storage for the active selection (d_selection0).

Static Data Members

Name

Description

CLASS_NAME

Name of this class.

SELECTION_INFO_ARRAY

Selection metadata for this choice type.

Friends

Name

Description

BloombergLP::baljsn::hashAppend

Incorporate object into the specified hashAlg.

BloombergLP::baljsn::operator<<

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

BloombergLP::baljsn::operator!=

Return true if the specified lhs and rhs do not have the same value.

BloombergLP::baljsn::operator==

Return true if the specified lhs and rhs have the same value.

Created with MrDocs