[#BloombergLP-balb-Choice5] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::Choice5 :relfileprefix: ../../ :mrdocs: This class provides a test choice type used by test messages. == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Choice5; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/Choice5/_04enum-0f.adoc[`Unnamed enum`] | Selection identifier constants. | xref:BloombergLP/balb/Choice5/_04enum-06.adoc[`Unnamed enum`] | Selection count constant. | xref:BloombergLP/balb/Choice5/_04enum-0d.adoc[`Unnamed enum`] | Selection index constants. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/Choice5/2constructor-0e.adoc[`Choice5`] [.small]#[constructor]# | Constructors | xref:BloombergLP/balb/Choice5/2destructor.adoc[`~Choice5`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/balb/Choice5/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` object. | xref:BloombergLP/balb/Choice5/accessSelection.adoc[`accessSelection`] | Invoke the specified `accessor` on the non‐modifiable selection, supplying `accessor` with the corresponding selection information structure. | xref:BloombergLP/balb/Choice5/bdexStreamIn.adoc[`bdexStreamIn`] | Assign to this object the value read from the specified input `stream` using the specified `version` format and return a reference to the modifiable `stream`. | xref:BloombergLP/balb/Choice5/bdexStreamOut.adoc[`bdexStreamOut`] | Write the value of this object to the specified output `stream` using the specified `version` format and return a reference to the modifiable `stream`. | xref:BloombergLP/balb/Choice5/isSelection1Value.adoc[`isSelection1Value`] | Return `true` if the value of this object is a "Selection1" value, and return `false` otherwise. | xref:BloombergLP/balb/Choice5/isSelection2Value.adoc[`isSelection2Value`] | Return `true` if the value of this object is a "Selection2" value, and return `false` otherwise. | xref:BloombergLP/balb/Choice5/isUndefinedValue.adoc[`isUndefinedValue`] | Return `true` if the value of this object is undefined, and `false` otherwise. | xref:BloombergLP/balb/Choice5/makeSelection-01.adoc[`makeSelection`] | `makeSelection` overloads | xref:BloombergLP/balb/Choice5/makeSelection1-0c.adoc[`makeSelection1`] | `makeSelection1` overloads | xref:BloombergLP/balb/Choice5/makeSelection2-0e.adoc[`makeSelection2`] | `makeSelection2` overloads | xref:BloombergLP/balb/Choice5/manipulateSelection.adoc[`manipulateSelection`] | Invoke the specified `manipulator` on the address of the modifiable selection, supplying `manipulator` with the corresponding selection information structure. | xref:BloombergLP/balb/Choice5/print.adoc[`print`] | Format this object to the specified output `stream` at the optionally specified indentation `level` and return a reference to the modifiable `stream`. | xref:BloombergLP/balb/Choice5/reset.adoc[`reset`] | Reset this object to the default value (i.e., its value upon default construction). | xref:BloombergLP/balb/Choice5/selection1-0ed.adoc[`selection1`] | `selection1` overloads | xref:BloombergLP/balb/Choice5/selection2-06f.adoc[`selection2`] | `selection2` overloads | xref:BloombergLP/balb/Choice5/selectionId.adoc[`selectionId`] | Return the id of the current selection if the selection is defined, and ‐1 otherwise. | xref:BloombergLP/balb/Choice5/selectionName.adoc[`selectionName`] | Return the symbolic name of the current selection of this object. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/Choice5/lookupSelectionInfo-08.adoc[`lookupSelectionInfo`] | `lookupSelectionInfo` overloads | xref:BloombergLP/balb/Choice5/maxSupportedBdexVersion.adoc[`maxSupportedBdexVersion`] | Return the most current `bdex` streaming version number supported by this class. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/Choice5/d_selection1.adoc[`d_selection1`] [.small]#[variant member]# | Storage for the "Selection1" selection. | xref:BloombergLP/balb/Choice5/d_selection2.adoc[`d_selection2`] [.small]#[variant member]# | Storage for the "Selection2" selection. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/Choice5/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/balb/Choice5/SELECTION_INFO_ARRAY.adoc[`SELECTION_INFO_ARRAY`] | Selection information array for this choice. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/operator_not_eq-017.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` objects do not have the same values, as determined by `operator==`, and `false` otherwise. | xref:BloombergLP/balb/operator_eq-01c6.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#