Nektar++
Namespaces | Functions | Variables
enum.py File Reference

Go to the source code of this file.

Namespaces

namespace  CellMLToNektar
 
namespace  CellMLToNektar.enum
 

Functions

def CellMLToNektar.enum.Enum (*names)
 

Variables

def CellMLToNektar.enum.Days = Enum('Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su')
 
def CellMLToNektar.enum.Confirmation = Enum('No', 'Yes')
 
def CellMLToNektar.enum.answer = Confirmation.No
 
 CellMLToNektar.enum.__value
 assert names, "Empty enums are not supported" # <- Don't like empty enums? Uncomment! More...