[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::EncoderTestChoiceWithAllCategories :relfileprefix: ../../ :mrdocs: Test type `EncoderTestChoiceWithAllCategories` used by `baljsn` encoder tests. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class EncoderTestChoiceWithAllCategories; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/_04enum-08.adoc[`Unnamed enum`] | Selection identifier constants. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/_04enum-0c.adoc[`Unnamed enum`] | Number of selections. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/_04enum-02.adoc[`Unnamed enum`] | Selection index constants. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/2constructor-085.adoc[`EncoderTestChoiceWithAllCategories`] [.small]#[constructor]# | Constructors | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/2destructor.adoc[`~EncoderTestChoiceWithAllCategories`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/operator_assign-02.adoc[`operator=`] | Assignment operators | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/accessSelection.adoc[`accessSelection`] | Invoke `accessor` on the non‐modifiable current selection. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/charArray-0d.adoc[`charArray`] | `charArray` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/choice-0a.adoc[`choice`] | `choice` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/customizedType-05.adoc[`customizedType`] | `customizedType` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/enumeration-0b.adoc[`enumeration`] | `enumeration` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isCharArrayValue.adoc[`isCharArrayValue`] | Return 'true' if the value of this object is a "CharArray" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isChoiceValue.adoc[`isChoiceValue`] | Return 'true' if the value of this object is a "Choice" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isCustomizedTypeValue.adoc[`isCustomizedTypeValue`] | Return 'true' if the value of this object is a "CustomizedType" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isEnumerationValue.adoc[`isEnumerationValue`] | Return 'true' if the value of this object is a "Enumeration" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isSequenceValue.adoc[`isSequenceValue`] | Return 'true' if the value of this object is a "Sequence" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isSimpleValue.adoc[`isSimpleValue`] | Return 'true' if the value of this object is a "Simple" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/isUndefinedValue.adoc[`isUndefinedValue`] | Return 'true' if the value of this object is undefined, and 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeCharArray-0f7.adoc[`makeCharArray`] | `makeCharArray` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeChoice-0e.adoc[`makeChoice`] | `makeChoice` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeCustomizedType-0b.adoc[`makeCustomizedType`] | `makeCustomizedType` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeEnumeration-03.adoc[`makeEnumeration`] | `makeEnumeration` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSelection-03.adoc[`makeSelection`] | `makeSelection` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSequence-05c.adoc[`makeSequence`] | `makeSequence` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/makeSimple-02.adoc[`makeSimple`] | `makeSimple` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/manipulateSelection.adoc[`manipulateSelection`] | Invoke `manipulator` on the address of the current selection. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/print.adoc[`print`] | Format this object to the specified output `stream`. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/reset.adoc[`reset`] | Reset this object to the default value (i.e., its value upon default construction). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/selectionId.adoc[`selectionId`] | Return the id of the current selection if the selection is defined, and ‐1 otherwise. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/selectionName.adoc[`selectionName`] | Return the symbolic name of the current selection of this object. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/sequence-022.adoc[`sequence`] | `sequence` overloads | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/simple-03.adoc[`simple`] | `simple` overloads |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/lookupSelectionInfo-01.adoc[`lookupSelectionInfo`] | `lookupSelectionInfo` overloads |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_charArray.adoc[`d_charArray`] [.small]#[variant member]# | Storage for the active selection (`d_charArray`). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_choice.adoc[`d_choice`] [.small]#[variant member]# | Storage for the active selection (`d_choice`). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_customizedType.adoc[`d_customizedType`] [.small]#[variant member]# | Storage for the active selection (`d_customizedType`). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_enumeration.adoc[`d_enumeration`] [.small]#[variant member]# | Storage for the active selection (`d_enumeration`). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_sequence.adoc[`d_sequence`] [.small]#[variant member]# | Storage for the active selection (`d_sequence`). | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/d_simple.adoc[`d_simple`] [.small]#[variant member]# | Storage for the active selection (`d_simple`). |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories/SELECTION_INFO_ARRAY.adoc[`SELECTION_INFO_ARRAY`] | Selection metadata for this choice type. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/baljsn/hashAppend-034.adoc[BloombergLP::baljsn::hashAppend]` | Incorporate `object` into the specified `hashAlg`. | `xref:BloombergLP/baljsn/operator_lshift-036.adoc[BloombergLP::baljsn::operator<<]` | Format the specified 'rhs' to the specified output 'stream' and return a reference to the modifiable 'stream'. | `xref:BloombergLP/baljsn/operator_not_eq-03e.adoc[BloombergLP::baljsn::operator!=]` | Return `true` if the specified `lhs` and `rhs` do not have the same value. | `xref:BloombergLP/baljsn/operator_eq-0f8.adoc[BloombergLP::baljsn::operator==]` | Return `true` if the specified `lhs` and `rhs` have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#