#include <s_baltst_featuretestmessage.h>
|
enum | {
SELECTION_ID_UNDEFINED = -1
, SELECTION_ID_SELECTION1 = 0
, SELECTION_ID_SELECTION2 = 1
, SELECTION_ID_SELECTION3 = 2
,
SELECTION_ID_SELECTION4 = 3
, SELECTION_ID_SELECTION5 = 4
, SELECTION_ID_SELECTION6 = 5
, SELECTION_ID_SELECTION7 = 6
,
SELECTION_ID_SELECTION8 = 7
, SELECTION_ID_SELECTION9 = 8
, SELECTION_ID_SELECTION10 = 9
, SELECTION_ID_SELECTION11 = 10
} |
|
enum | { NUM_SELECTIONS = 11
} |
|
enum | {
SELECTION_INDEX_SELECTION1 = 0
, SELECTION_INDEX_SELECTION2 = 1
, SELECTION_INDEX_SELECTION3 = 2
, SELECTION_INDEX_SELECTION4 = 3
,
SELECTION_INDEX_SELECTION5 = 4
, SELECTION_INDEX_SELECTION6 = 5
, SELECTION_INDEX_SELECTION7 = 6
, SELECTION_INDEX_SELECTION8 = 7
,
SELECTION_INDEX_SELECTION9 = 8
, SELECTION_INDEX_SELECTION10 = 9
, SELECTION_INDEX_SELECTION11 = 10
} |
|
◆ anonymous enum
Enumerator |
---|
SELECTION_ID_UNDEFINED | |
SELECTION_ID_SELECTION1 | |
SELECTION_ID_SELECTION2 | |
SELECTION_ID_SELECTION3 | |
SELECTION_ID_SELECTION4 | |
SELECTION_ID_SELECTION5 | |
SELECTION_ID_SELECTION6 | |
SELECTION_ID_SELECTION7 | |
SELECTION_ID_SELECTION8 | |
SELECTION_ID_SELECTION9 | |
SELECTION_ID_SELECTION10 | |
SELECTION_ID_SELECTION11 | |
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
SELECTION_INDEX_SELECTION1 | |
SELECTION_INDEX_SELECTION2 | |
SELECTION_INDEX_SELECTION3 | |
SELECTION_INDEX_SELECTION4 | |
SELECTION_INDEX_SELECTION5 | |
SELECTION_INDEX_SELECTION6 | |
SELECTION_INDEX_SELECTION7 | |
SELECTION_INDEX_SELECTION8 | |
SELECTION_INDEX_SELECTION9 | |
SELECTION_INDEX_SELECTION10 | |
SELECTION_INDEX_SELECTION11 | |
◆ FeatureTestMessage() [1/2]
s_baltst::FeatureTestMessage::FeatureTestMessage |
( |
bslma::Allocator * |
basicAllocator = 0 | ) |
|
|
inlineexplicit |
Create an object of type FeatureTestMessage
having the default value. Use the optionally specified basicAllocator
to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
◆ FeatureTestMessage() [2/2]
Create an object of type FeatureTestMessage
having the value of the specified original
object. Use the optionally specified basicAllocator
to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
◆ ~FeatureTestMessage()
s_baltst::FeatureTestMessage::~FeatureTestMessage |
( |
| ) |
|
|
inline |
◆ accessSelection()
template<class ACCESSOR >
int s_baltst::FeatureTestMessage::accessSelection |
( |
ACCESSOR & |
accessor | ) |
const |
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.
◆ isSelection10Value()
bool s_baltst::FeatureTestMessage::isSelection10Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection10" value, and return false
otherwise.
◆ isSelection11Value()
bool s_baltst::FeatureTestMessage::isSelection11Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection11" value, and return false
otherwise.
◆ isSelection1Value()
bool s_baltst::FeatureTestMessage::isSelection1Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection1" value, and return false
otherwise.
◆ isSelection2Value()
bool s_baltst::FeatureTestMessage::isSelection2Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection2" value, and return false
otherwise.
◆ isSelection3Value()
bool s_baltst::FeatureTestMessage::isSelection3Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection3" value, and return false
otherwise.
◆ isSelection4Value()
bool s_baltst::FeatureTestMessage::isSelection4Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection4" value, and return false
otherwise.
◆ isSelection5Value()
bool s_baltst::FeatureTestMessage::isSelection5Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection5" value, and return false
otherwise.
◆ isSelection6Value()
bool s_baltst::FeatureTestMessage::isSelection6Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection6" value, and return false
otherwise.
◆ isSelection7Value()
bool s_baltst::FeatureTestMessage::isSelection7Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection7" value, and return false
otherwise.
◆ isSelection8Value()
bool s_baltst::FeatureTestMessage::isSelection8Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection8" value, and return false
otherwise.
◆ isSelection9Value()
bool s_baltst::FeatureTestMessage::isSelection9Value |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is a "Selection9" value, and return false
otherwise.
◆ isUndefinedValue()
bool s_baltst::FeatureTestMessage::isUndefinedValue |
( |
| ) |
const |
|
inline |
Return true
if the value of this object is undefined, and false
otherwise.
◆ lookupSelectionInfo() [1/2]
static const bdlat_SelectionInfo * s_baltst::FeatureTestMessage::lookupSelectionInfo |
( |
const char * |
name, |
|
|
int |
nameLength |
|
) |
| |
|
static |
Return selection information for the selection indicated by the specified name
of the specified nameLength
if the selection exists, and 0 otherwise.
◆ lookupSelectionInfo() [2/2]
Return selection information for the selection indicated by the specified id
if the selection exists, and 0 otherwise.
◆ makeSelection() [1/2]
int s_baltst::FeatureTestMessage::makeSelection |
( |
const char * |
name, |
|
|
int |
nameLength |
|
) |
| |
Set the value of this object to be the default for the selection indicated by the specified name
of the specified nameLength
. Return 0 on success, and non-zero value otherwise (i.e., the selection is not found).
◆ makeSelection() [2/2]
int s_baltst::FeatureTestMessage::makeSelection |
( |
int |
selectionId | ) |
|
Set the value of this object to be the default for the selection indicated by the specified selectionId
. Return 0 on success, and non-zero value otherwise (i.e., the selection is not found).
◆ makeSelection1() [1/2]
◆ makeSelection1() [2/2]
◆ makeSelection10() [1/2]
◆ makeSelection10() [2/2]
◆ makeSelection11() [1/2]
◆ makeSelection11() [2/2]
◆ makeSelection2() [1/2]
bsl::vector< char > & s_baltst::FeatureTestMessage::makeSelection2 |
( |
| ) |
|
◆ makeSelection2() [2/2]
◆ makeSelection3() [1/2]
◆ makeSelection3() [2/2]
◆ makeSelection4() [1/2]
◆ makeSelection4() [2/2]
◆ makeSelection5() [1/2]
◆ makeSelection5() [2/2]
◆ makeSelection6() [1/2]
◆ makeSelection6() [2/2]
◆ makeSelection7() [1/2]
Set the value of this object to be a "Selection7" value. Optionally specify the value
of the "Selection7". If value
is not specified, the default "Selection7" value is used.
◆ makeSelection7() [2/2]
◆ makeSelection8() [1/2]
◆ makeSelection8() [2/2]
◆ makeSelection9() [1/2]
◆ makeSelection9() [2/2]
◆ manipulateSelection()
template<class MANIPULATOR >
int s_baltst::FeatureTestMessage::manipulateSelection |
( |
MANIPULATOR & |
manipulator | ) |
|
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.
◆ operator=()
◆ print()
bsl::ostream & s_baltst::FeatureTestMessage::print |
( |
bsl::ostream & |
stream, |
|
|
int |
level = 0 , |
|
|
int |
spacesPerLevel = 4 |
|
) |
| const |
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()
void s_baltst::FeatureTestMessage::reset |
( |
| ) |
|
Reset this object to the default value (i.e., its value upon default construction).
◆ selection1() [1/2]
Return a reference to the modifiable "Selection1" selection of this object if "Selection1" is the current selection. The behavior is undefined unless "Selection1" is the selection of this object.
◆ selection1() [2/2]
Return a reference to the non-modifiable "Selection1" selection of this object if "Selection1" is the current selection. The behavior is undefined unless "Selection1" is the selection of this object.
◆ selection10() [1/2]
Return a reference to the modifiable "Selection10" selection of this object if "Selection10" is the current selection. The behavior is undefined unless "Selection10" is the selection of this object.
◆ selection10() [2/2]
Return a reference to the non-modifiable "Selection10" selection of this object if "Selection10" is the current selection. The behavior is undefined unless "Selection10" is the selection of this object.
◆ selection11() [1/2]
Return a reference to the modifiable "Selection11" selection of this object if "Selection11" is the current selection. The behavior is undefined unless "Selection11" is the selection of this object.
◆ selection11() [2/2]
Return a reference to the non-modifiable "Selection11" selection of this object if "Selection11" is the current selection. The behavior is undefined unless "Selection11" is the selection of this object.
◆ selection2() [1/2]
bsl::vector< char > & s_baltst::FeatureTestMessage::selection2 |
( |
| ) |
|
|
inline |
Return a reference to the modifiable "Selection2" selection of this object if "Selection2" is the current selection. The behavior is undefined unless "Selection2" is the selection of this object.
◆ selection2() [2/2]
const bsl::vector< char > & s_baltst::FeatureTestMessage::selection2 |
( |
| ) |
const |
|
inline |
Return a reference to the non-modifiable "Selection2" selection of this object if "Selection2" is the current selection. The behavior is undefined unless "Selection2" is the selection of this object.
◆ selection3() [1/2]
Return a reference to the modifiable "Selection3" selection of this object if "Selection3" is the current selection. The behavior is undefined unless "Selection3" is the selection of this object.
◆ selection3() [2/2]
Return a reference to the non-modifiable "Selection3" selection of this object if "Selection3" is the current selection. The behavior is undefined unless "Selection3" is the selection of this object.
◆ selection4() [1/2]
Return a reference to the modifiable "Selection4" selection of this object if "Selection4" is the current selection. The behavior is undefined unless "Selection4" is the selection of this object.
◆ selection4() [2/2]
Return a reference to the non-modifiable "Selection4" selection of this object if "Selection4" is the current selection. The behavior is undefined unless "Selection4" is the selection of this object.
◆ selection5() [1/2]
Return a reference to the modifiable "Selection5" selection of this object if "Selection5" is the current selection. The behavior is undefined unless "Selection5" is the selection of this object.
◆ selection5() [2/2]
Return a reference to the non-modifiable "Selection5" selection of this object if "Selection5" is the current selection. The behavior is undefined unless "Selection5" is the selection of this object.
◆ selection6() [1/2]
Return a reference to the modifiable "Selection6" selection of this object if "Selection6" is the current selection. The behavior is undefined unless "Selection6" is the selection of this object.
◆ selection6() [2/2]
Return a reference to the non-modifiable "Selection6" selection of this object if "Selection6" is the current selection. The behavior is undefined unless "Selection6" is the selection of this object.
◆ selection7() [1/2]
Return a reference to the modifiable "Selection7" selection of this object if "Selection7" is the current selection. The behavior is undefined unless "Selection7" is the selection of this object.
◆ selection7() [2/2]
Return a reference to the non-modifiable "Selection7" selection of this object if "Selection7" is the current selection. The behavior is undefined unless "Selection7" is the selection of this object.
◆ selection8() [1/2]
Return a reference to the modifiable "Selection8" selection of this object if "Selection8" is the current selection. The behavior is undefined unless "Selection8" is the selection of this object.
◆ selection8() [2/2]
Return a reference to the non-modifiable "Selection8" selection of this object if "Selection8" is the current selection. The behavior is undefined unless "Selection8" is the selection of this object.
◆ selection9() [1/2]
Return a reference to the modifiable "Selection9" selection of this object if "Selection9" is the current selection. The behavior is undefined unless "Selection9" is the selection of this object.
◆ selection9() [2/2]
Return a reference to the non-modifiable "Selection9" selection of this object if "Selection9" is the current selection. The behavior is undefined unless "Selection9" is the selection of this object.
◆ selectionId()
int s_baltst::FeatureTestMessage::selectionId |
( |
| ) |
const |
|
inline |
Return the id of the current selection if the selection is defined, and -1 otherwise.
◆ selectionName()
const char * s_baltst::FeatureTestMessage::selectionName |
( |
| ) |
const |
◆ CLASS_NAME
const char s_baltst::FeatureTestMessage::CLASS_NAME[] |
|
static |
◆ d_selection1
◆ d_selection10
◆ d_selection11
◆ d_selection2
◆ d_selection3
◆ d_selection4
◆ d_selection5
◆ d_selection6
◆ d_selection7
◆ d_selection8
◆ d_selection9
◆ SELECTION_INFO_ARRAY
The documentation for this class was generated from the following file: