BloombergLP::baljsn::EncoderTestChoiceWithAllCategories

Test type EncoderTestChoiceWithAllCategories used by baljsn encoder tests.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

class EncoderTestChoiceWithAllCategories;

Enums

NameDescription
Unnamed enum Selection identifier constants.
Unnamed enum Number of selections.
Unnamed enum Selection index constants.

Member Functions

NameDescription
EncoderTestChoiceWithAllCategories [constructor]Constructors
~EncoderTestChoiceWithAllCategories [destructor]Destroy this object.
operator= Assignment operators
accessSelection Invoke accessor on the non-modifiable current selection.
charArray charArray overloads
choice choice overloads
customizedType customizedType overloads
enumeration enumeration overloads
isCharArrayValue Return 'true' if the value of this object is a "CharArray" value, and return 'false' otherwise.
isChoiceValue Return 'true' if the value of this object is a "Choice" value, and return 'false' otherwise.
isCustomizedTypeValue Return 'true' if the value of this object is a "CustomizedType" value, and return 'false' otherwise.
isEnumerationValue Return 'true' if the value of this object is a "Enumeration" value, and return 'false' otherwise.
isSequenceValue Return 'true' if the value of this object is a "Sequence" value, and return 'false' otherwise.
isSimpleValue Return 'true' if the value of this object is a "Simple" value, and return 'false' otherwise.
isUndefinedValue Return 'true' if the value of this object is undefined, and 'false' otherwise.
makeCharArray makeCharArray overloads
makeChoice makeChoice overloads
makeCustomizedType makeCustomizedType overloads
makeEnumeration makeEnumeration overloads
makeSelection makeSelection overloads
makeSequence makeSequence overloads
makeSimple makeSimple 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).
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.
sequence sequence overloads
simple simple overloads

Static Member Functions

NameDescription
lookupSelectionInfo lookupSelectionInfo overloads

Data Members

NameDescription
d_charArray [variant member]Storage for the active selection (d_charArray).
d_choice [variant member]Storage for the active selection (d_choice).
d_customizedType [variant member]Storage for the active selection (d_customizedType).
d_enumeration [variant member]Storage for the active selection (d_enumeration).
d_sequence [variant member]Storage for the active selection (d_sequence).
d_simple [variant member]Storage for the active selection (d_simple).

Static Data Members

NameDescription
CLASS_NAME Name of this class.
SELECTION_INFO_ARRAY Selection metadata for this choice type.

Friends

NameDescription
BloombergLP::baljsn::hashAppendIncorporate 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.