Package horizons :: Package ext :: Module enum :: Class EnumValue
[hide private]
[frames] | no frames]

Class EnumValue

source code

A specific value of an enumerated type.

Instance Methods [hide private]
 
__init__(self, enumtype, index, key)
Set up a new instance.
source code
 
__str__(self) source code
 
__repr__(self) source code
 
__hash__(self) source code
 
__eq__(x, y)
x==y
source code
 
__ne__(x, y)
x!=y
source code
 
__lt__(x, y)
x<y
source code
 
__le__(x, y)
x<=y
source code
 
__gt__(x, y)
x>y
source code
 
__ge__(x, y)
x>=y
source code
Properties [hide private]
  enumtype
  key
  index
Method Details [hide private]

__eq__(x, y)
(Equality operator)

source code 

x==y

Decorators:
  • @_comparator

__ne__(x, y)

source code 

x!=y

Decorators:
  • @_comparator

__lt__(x, y)
(Less-than operator)

source code 

x<y

Decorators:
  • @_comparator

__le__(x, y)
(Less-than-or-equals operator)

source code 

x<=y

Decorators:
  • @_comparator

__gt__(x, y)
(Greater-than operator)

source code 

x>y

Decorators:
  • @_comparator

__ge__(x, y)
(Greater-than-or-equals operator)

source code 

x>=y

Decorators:
  • @_comparator

Property Details [hide private]

enumtype

Get Method:
unreachable.enumtype(self)

key

Get Method:
unreachable.key(self)

index

Get Method:
unreachable.index(self)