Package PyFoam :: Package Applications :: Module Comparator :: Class CommandChain
[hide private]
[frames] | no frames]

Class CommandChain

source code

object --+
         |
        CommandChain

Abstract base class for a number of commands

Instance Methods [hide private]
 
__init__(self, c)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
execute(self, para, log)
Executes the chain
source code
 
hasObjectOfType(self, typ)
Checks whether there is an object of a specific type
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, c)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • c - XML-Subtree that represents the chain
Overrides: object.__init__

execute(self, para, log)

source code 

Executes the chain

Parameters:
  • para - A dictionary with the parameters
  • log - Logfile to write to