Metaclass for enumeration types
Methods
|
|
__contains__
__getitem__
__init__
__iter__
__new__
_setupInst
get
mdl_typeCode
|
|
__contains__
|
__contains__ ( klass, value )
|
|
__getitem__
|
__getitem__ (
klass,
nameOrValue,
default=NOT_GIVEN,
)
Exceptions
|
|
exceptions.EnumerationError( "Invalid name or value for enumeration", klass, nameOrValue )
|
|
|
__init__
|
__init__ (
klass,
name,
bases,
cDict,
)
|
|
__iter__
|
__iter__ ( klass )
|
|
__new__
|
__new__ (
meta,
name,
bases,
cDict,
)
|
|
_setupInst
|
_setupInst (
klass,
inst,
name,
)
Exceptions
|
|
exceptions.EnumerationError( "Invalid name or value for enumeration", klass, name )
|
|
|
get
|
get (
klass,
nameOrValue,
default=None,
)
|
|
mdl_typeCode
|
mdl_typeCode ( klass )
|
|