Table of Contents

Class: IEnumType ./src/peak/model/interfaces.py

An enumerated type

Base Classes   
IType
    IComponentKey
Methods   
__contains__
__getitem__
__iter__
get
  __contains__ 
__contains__ ( value )

Return true if value is a valid enumeration name or value

  __getitem__ 
__getitem__ ( nameOrValue )

Return the enumeration value for the name or value nameOrValue

Raises exceptions.EnumerationError if not found

  __iter__ 
__iter__ ()

Iterator over the sorted sequence of all of this enum's instances

  get 
get ( nameOrValue,  default=None )

Return the enumeration value for the name or value nameOrValue

Returns default if not found


Table of Contents

This document was automatically generated on Mon May 13 01:11:05 2024 by HappyDoc version 2.1