[#BloombergLP-balb-SequenceWithAnonymityChoice] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::SequenceWithAnonymityChoice :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class SequenceWithAnonymityChoice; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/SequenceWithAnonymityChoice/_04enum-05.adoc[`Unnamed enum`] | Selection identifier constants. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/_04enum-00.adoc[`Unnamed enum`] | Selection count constant. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/_04enum-0f.adoc[`Unnamed enum`] | Selection index constants. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/SequenceWithAnonymityChoice/2constructor-07.adoc[`SequenceWithAnonymityChoice`] [.small]#[constructor]# | Constructors | xref:BloombergLP/balb/SequenceWithAnonymityChoice/2destructor.adoc[`~SequenceWithAnonymityChoice`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/operator_assign.adoc[`operator=`] | Assign to this object the value of the specified `rhs` object. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/accessSelection.adoc[`accessSelection`] | Invoke the specified `accessor` on the non‐modifiable selection, supplying `accessor` with the corresponding selection information structure. Return the value returned from the invocation of `accessor` if this object has a defined selection, and ‐1 otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/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`. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, this object is valid, but its value is undefined. If `version` is not supported, `stream` is marked invalid and this object is unaltered. Note that no version is read from `stream`. See the `bslx` package‐level documentation for more information on `bdex` streaming of value‐semantic types and containers. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/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`. If `version` is not supported, `stream` is unmodified. Note that `version` is not written to `stream`. See the `bslx` package‐level documentation for more information on `bdex` streaming of value‐semantic types and containers. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/isSelection1Value.adoc[`isSelection1Value`] | Return `true` if the value of this object is a "Selection1" value, and return `false` otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/isSelection2Value.adoc[`isSelection2Value`] | Return `true` if the value of this object is a "Selection2" value, and return `false` otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/isSelection3Value.adoc[`isSelection3Value`] | Return `true` if the value of this object is a "Selection3" value, and return `false` otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/isSelection4Value.adoc[`isSelection4Value`] | Return `true` if the value of this object is a "Selection4" value, and return `false` otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/isUndefinedValue.adoc[`isUndefinedValue`] | Return `true` if the value of this object is undefined, and `false` otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/makeSelection-09f.adoc[`makeSelection`] | `makeSelection` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/makeSelection1-01.adoc[`makeSelection1`] | `makeSelection1` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/makeSelection2-00.adoc[`makeSelection2`] | `makeSelection2` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/makeSelection3-06.adoc[`makeSelection3`] | `makeSelection3` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/makeSelection4-05.adoc[`makeSelection4`] | `makeSelection4` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/manipulateSelection.adoc[`manipulateSelection`] | Invoke the specified `manipulator` on the address of the modifiable selection, supplying `manipulator` with the corresponding selection information structure. Return the value returned from the invocation of `manipulator` if this object has a defined selection, and ‐1 otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/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`. If `level` is specified, optionally specify `spacesPerLevel`, the number of spaces per indentation level for this and all of its nested objects. Each line is indented by the absolute value of `level * spacesPerLevel`. If `level` is negative, suppress indentation of the first line. If `spacesPerLevel` is negative, suppress line breaks and format the entire output on one line. If `stream` is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/reset.adoc[`reset`] | Reset this object to the default value (i.e., its value upon default construction). | xref:BloombergLP/balb/SequenceWithAnonymityChoice/selection1-00.adoc[`selection1`] | `selection1` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/selection2-0f.adoc[`selection2`] | `selection2` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/selection3-09.adoc[`selection3`] | `selection3` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/selection4-059.adoc[`selection4`] | `selection4` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/selectionId.adoc[`selectionId`] | Return the id of the current selection if the selection is defined, and ‐1 otherwise. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/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/SequenceWithAnonymityChoice/lookupSelectionInfo-04.adoc[`lookupSelectionInfo`] | `lookupSelectionInfo` overloads | xref:BloombergLP/balb/SequenceWithAnonymityChoice/maxSupportedBdexVersion.adoc[`maxSupportedBdexVersion`] | Return the most current `bdex` streaming version number supported by this class. See the `bslx` package‐level documentation for more information on `bdex` streaming of value‐semantic types and containers. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/SequenceWithAnonymityChoice/d_selection1.adoc[`d_selection1`] [.small]#[variant member]# | Storage for the "Selection1" selection. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/d_selection2.adoc[`d_selection2`] [.small]#[variant member]# | Storage for the "Selection2" selection. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/d_selection3.adoc[`d_selection3`] [.small]#[variant member]# | Storage for the "Selection3" selection. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/d_selection4.adoc[`d_selection4`] [.small]#[variant member]# | Storage for the "Selection4" selection. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/SequenceWithAnonymityChoice/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/balb/SequenceWithAnonymityChoice/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-0d.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-014.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `SequenceWithAnonymityChoice` objects have the same value if either the selections in both objects have the same ids and the same values, or both selections are undefined. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#