BloombergLP::balb::Request

Synopsis

Declared in <balb_testmessages.h>

class Request;

Enums

NameDescription
Unnamed enum Selection identifier constants.
Unnamed enum Selection count constant.
Unnamed enum Selection index constants.

Member Functions

NameDescription
Request [constructor]Constructors
~Request [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. Return the value returned from the invocation of accessor if this object has a defined selection, and -1 otherwise.
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.
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.
featureRequest featureRequest overloads
isFeatureRequestValue Return true if the value of this object is a "FeatureRequest" value, and return false otherwise.
isSimpleRequestValue Return true if the value of this object is a "SimpleRequest" value, and return false otherwise.
isUndefinedValue Return true if the value of this object is undefined, and false otherwise.
makeFeatureRequest makeFeatureRequest overloads
makeSelection makeSelection overloads
makeSimpleRequest makeSimpleRequest overloads
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.
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.
reset Reset this object to the default value (i.e., its value upon default construction).
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.
simpleRequest simpleRequest overloads

Static Member Functions

NameDescription
lookupSelectionInfo lookupSelectionInfo overloads
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

NameDescription
d_featureRequest [variant member]Storage for the "FeatureRequest" selection.
d_simpleRequest [variant member]Storage for the "SimpleRequest" selection.

Static Data Members

NameDescription
CLASS_NAME Name of this class.
SELECTION_INFO_ARRAY Selection information array for this choice.

Non-Member Functions

NameDescription
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. Two Request 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.