fromString overloads
Declared in <balb_testmessages.h>
Load into the specified result the enumerator matching the specified string.
static
int
fromString(
Value* result,
bsl::string const& string);
» more...
Load into the specified result the enumerator matching the specified string of the specified stringLength.
static
int
fromString(
Value* result,
char const* string,
int stringLength);
» more...
0 if successful, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | receives the enumerator on success |
| string | string representation of the enumerator |
| stringLength | length of string |