NAME

DynamicAny::DynEnum - The API for dynamic enums


SYNOPSIS

See DynamicAny::DynAny.


DESCRIPTION

This is a specialization of DynAy specifically for enums.


METHODS

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.