Test type EncoderTestSequenceWithAllCategoriesChoice used by baljsn encoder tests.
Synopsis
Declared in <baljsn_encoder_testtypes.h>
class EncoderTestSequenceWithAllCategoriesChoice;
Enums
Name |
Description |
Selection identifier constants. |
|
Number of selections. |
|
Selection index constants. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assignment operators |
|
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. |
|
Return 'true' if the value of this object is a "Selection0" value, and return 'false' otherwise. |
|
Return 'true' if the value of this object is undefined, and 'false' otherwise. |
|
|
|
|
|
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. |
|
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 this object to the default value (i.e., its value upon default construction). |
|
|
|
Return the id of the current selection if the selection is defined, and ‐1 otherwise. |
|
Return the symbolic name of the current selection of this object. |
Static Member Functions
Name |
Description |
|
Data Members
Name |
Description |
|
Storage for the active selection ( |
Static Data Members
Name |
Description |
Name of this class. |
|
Selection metadata for this choice type. |
Friends
Name |
Description |
Pass the specified 'object' to the specified 'hashAlg'. This function integrates with the 'bslh' modular hashing system and effectively provides a 'bsl::hash' specialization for 'EncoderTestSequenceWithAllCategoriesChoice'. |
|
Format the specified 'rhs' to the specified output 'stream' and return a reference to the modifiable 'stream'. |
|
Return 'true' if the specified 'lhs' and 'rhs' objects do not have the same values, as determined by 'operator==', and 'false' otherwise. |
|
Return 'true' if the specified 'lhs' and 'rhs' objects have the same value, and 'false' otherwise. Two 'EncoderTestSequenceWithAllCategoriesChoice' 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. |
Created with MrDocs