Eric Waters > Thrift-Parser > Thrift::IDL::Enum

Download:
Thrift-Parser-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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)

syntax highlighting: