#include <baljsn_encoder_testtypes.h>
List of all members.
Member Enumeration Documentation
Member Function Documentation
static const char* baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::toString |
( |
Value |
value |
) |
[static] |
Return the string representation exactly matching the enumerator name corresponding to the specified enumeration value
.
static int baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::fromString |
( |
Value * |
result, |
|
|
const char * |
string, |
|
|
int |
stringLength | |
|
) |
| | [static] |
Load into the specified result
the enumerator matching the specified string
of the specified stringLength
. Return 0 on success, and a non-zero value with no effect on result
otherwise (i.e., string
does not match any enumerator).
static int baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::fromString |
( |
Value * |
result, |
|
|
const bsl::string & |
string | |
|
) |
| | [static] |
Load into the specified result
the enumerator matching the specified string
. Return 0 on success, and a non-zero value with no effect on result
otherwise (i.e., string
does not match any enumerator).
static int baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::fromInt |
( |
Value * |
result, |
|
|
int |
number | |
|
) |
| | [static] |
Load into the specified result
the enumerator matching the specified number
. Return 0 on success, and a non-zero value with no effect on result
otherwise (i.e., number
does not match any enumerator).
static bsl::ostream& baljsn::EncoderTestChoiceWithAllCategoriesEnumeration::print |
( |
bsl::ostream & |
stream, |
|
|
Value |
value | |
|
) |
| | [static] |
Write to the specified stream
the string representation of the specified enumeration value
. Return a reference to the modifiable stream
.
Member Data Documentation
The documentation for this struct was generated from the following file: