The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Thrift::IDL::Enum

DESCRIPTION

Inherits from Thrift::IDL::Definition

METHODS

name

values

Scalar accessors

numbered_values

Numbering the Enum is optional in the Thrift spec. Calling this method will assign incremented numbers to each value (if they have no number)

value_named

Return the value (number) with the given name

value_id_name

Return the name for a given value (number)