Assign the enumerator value matching the specified number.
Declared in <bdlar_enumref.h>
int
fromInt(int number) const;
Return 0 on success, and a non-zero value with no effect on the object if number does not match any enumerator.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| number | integer enumerator identifier to assign |