[#BloombergLP-baljsn-EncoderTestDegenerateChoice1] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::EncoderTestDegenerateChoice1 :relfileprefix: ../../ :mrdocs: Test type `EncoderTestDegenerateChoice1` used by `baljsn` encoder tests. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class EncoderTestDegenerateChoice1; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/_04enum-04.adoc[`Unnamed enum`] | Selection identifier constants. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/_04enum-05.adoc[`Unnamed enum`] | Number of selections. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/_04enum-06.adoc[`Unnamed enum`] | Selection index constants. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/2constructor-00.adoc[`EncoderTestDegenerateChoice1`] [.small]#[constructor]# | Constructors | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/2destructor.adoc[`~EncoderTestDegenerateChoice1`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/operator_assign-0d.adoc[`operator=`] | Assignment operators | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/accessSelection.adoc[`accessSelection`] | Invoke `accessor` on the non‐modifiable current selection. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/isSequenceValue.adoc[`isSequenceValue`] | Return 'true' if the value of this object is a "Sequence" value, and return 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/isUndefinedValue.adoc[`isUndefinedValue`] | Return 'true' if the value of this object is undefined, and 'false' otherwise. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/makeSelection-03.adoc[`makeSelection`] | `makeSelection` overloads | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/makeSequence-01.adoc[`makeSequence`] | `makeSequence` overloads | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/manipulateSelection.adoc[`manipulateSelection`] | Invoke `manipulator` on the address of the current selection. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/print.adoc[`print`] | Format this object to the specified output `stream`. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/reset.adoc[`reset`] | Reset this object to the default value (i.e., its value upon default construction). | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/selectionId.adoc[`selectionId`] | Return the id of the current selection if the selection is defined, and ‐1 otherwise. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/selectionName.adoc[`selectionName`] | Return the symbolic name of the current selection of this object. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/sequence-0c.adoc[`sequence`] | `sequence` overloads |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/lookupSelectionInfo-0c.adoc[`lookupSelectionInfo`] | `lookupSelectionInfo` overloads |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/d_sequence.adoc[`d_sequence`] [.small]#[variant member]# | Storage for the active selection (`d_sequence`). |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1/SELECTION_INFO_ARRAY.adoc[`SELECTION_INFO_ARRAY`] | Selection metadata for this choice type. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/baljsn/hashAppend-0ff6.adoc[BloombergLP::baljsn::hashAppend]` | Incorporate `object` into the specified `hashAlg`. | `xref:BloombergLP/baljsn/operator_lshift-049.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-0b71.adoc[BloombergLP::baljsn::operator!=]` | Return `true` if the specified `lhs` and `rhs` do not have the same value. | `xref:BloombergLP/baljsn/operator_eq-0df.adoc[BloombergLP::baljsn::operator==]` | Return `true` if the specified `lhs` and `rhs` have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#