DynamicAny::DynEnum - The API for dynamic enums
See DynamicAny::DynAny.
This is a specialization of DynAy specifically for enums.
get_as_string
- Get the string representation of the enum element to
which this DynEnum value corresponds.
get_as_ulong
- Get the numeric value of the DynEnum.
set_as_string
- Set the enum element based on a string. The
DynamicAny::DynAny::InvalidValue exception will be thrown if the string
does not correspond to one of the enum elements.
set_as_ulong
- Set the enum element based on a numeric value. The
DynamicAny::DynAny::InvalidValue exception will be thrown if the value
provided is out of range with respect to the number of enum elements.