BloombergLP::baljsn::EncoderTestSequenceWithAllCategoriesEnumeration::fromString

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);
» more...

Load into result the enumerator matching the specified string.

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

Return Value

0 if successful, and a non-zero value otherwise

Parameters

NameDescription
resultreceives the enumerator on success
stringstring representation of the enumerator
stringLengthlength of string