Table of Contents

Class: EnumerationClass ./src/peak/model/enumerations.py

Metaclass for enumeration types

Base Classes   
PrimitiveTypeClass
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 )


Table of Contents

This document was automatically generated on Mon Aug 10 01:11:12 2020 by HappyDoc version 2.1