Load into result the enumerator matching the specified string.

Synopses

Declared in <baljsn_encoder_testtypes.h>

Load into result the enumerator matching the specified string.

static
int
fromString(
    Value* result,
    bsl::string const& string);

Load into result the enumerator matching the specified string.

static
int
fromString(
    Value* result,
    char const* string,
    int stringLength);

Return Value

0 if successful, and a non‐zero value otherwise

Parameters

Name

Description

result

receives the enumerator on success

string

string representation of the enumerator

stringLength

length of string

Created with MrDocs