Class Enum

A base object for all Enum objects.

Functions

self:IsValid (option) Verifies the Enum.

Methods

Enum:Enum (_subtype, _optionsTable) Enum constructor.

Properties

self.Subtype.get () Returns the subtype of the Enum.


Functions

self:IsValid (option)
Verifies the Enum.

Searches for matching key or value within the options table to guarantee the passing of valid options where necessary.

Parameters:

Returns:

    bool

Methods

Enum:Enum (_subtype, _optionsTable)
Enum constructor.

Parameters:

  • _subtype string A string identifying the Enum.
  • _optionsTable table A table of valid options for the Enum.

Returns:

    Enum

Properties

self.Subtype.get ()
Returns the subtype of the Enum.

Returns:

    string
generated by LDoc 1.4.6 Last updated 2017-11-15 22:27:55