This class provides a test choice type used by test messages.

Synopsis

Declared in <balb_testmessages.h>

class Choice5;

Enums

Name

Description

Unnamed enum

Selection identifier constants.

Unnamed enum

Selection count constant.

Unnamed enum

Selection index constants.

Member Functions

Name

Description

Choice5 [constructor]

Constructors

~Choice5 [destructor]

Destroy this object.

operator=

Assign to this object the value of the specified rhs object.

accessSelection

Invoke the specified accessor on the non‐modifiable selection, supplying accessor with the corresponding selection information structure.

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.

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.

isSelection1Value

Return true if the value of this object is a "Selection1" value, and return false otherwise.

isSelection2Value

Return true if the value of this object is a "Selection2" value, and return false otherwise.

isUndefinedValue

Return true if the value of this object is undefined, and false otherwise.

makeSelection

makeSelection overloads

makeSelection1

makeSelection1 overloads

makeSelection2

makeSelection2 overloads

manipulateSelection

Invoke the specified manipulator on the address of the modifiable selection, supplying manipulator with the corresponding selection information structure.

print

Format this object to the specified output stream at the optionally specified indentation level and return a reference to the modifiable stream.

reset

Reset this object to the default value (i.e., its value upon default construction).

selection1

selection1 overloads

selection2

selection2 overloads

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.

Static Member Functions

Name

Description

lookupSelectionInfo

lookupSelectionInfo overloads

maxSupportedBdexVersion

Return the most current bdex streaming version number supported by this class.

Data Members

Name

Description

d_selection1 [variant member]

Storage for the "Selection1" selection.

d_selection2 [variant member]

Storage for the "Selection2" selection.

Static Data Members

Name

Description

CLASS_NAME

Name of this class.

SELECTION_INFO_ARRAY

Selection information array for this choice.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs objects do not have the same values, as determined by operator==, and false otherwise.

operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Created with MrDocs