Enum

To store information about a enum

Constructors

this
this(string name, string[] members)

Constructor

this
this(string enumString)

Constructor, reads from string (uses fromString)

Postblit

this(this)
this(this)

postblit

Members

Functions

fromString
string fromString(string str)

Reads this Enum from string (reverse of toString)

toString
string toString()

Properties

members
string[] members [@property getter]
string[] members [@property setter]

members names, index is their value

Variables

name
string name;

name of the enum

Meta