Bases: atom.catom.Member
A member where the value can be one in a sequence of items.
Initialize an Enum.
*items :
The allowed values which can be assigned to the enum.
A readonly property which returns the items in the enum.
Create a clone of the Enum with added items.
Additional items to include in the Enum.
result : Enum
A new enum object which contains all of the original items plus the new items.
Create a clone of the Enum with some items removed.
The items to remove remove from the new enum.
A new enum object which contains all of the original items but with the given items removed.
Create a clone of the Enum item with a new default.
item : object
The item to use as the Enum default. The item must be one of the valid enum items.