PyFoam.Basics.ProgressOutput module

Output of progress

class PyFoam.Basics.ProgressOutput.ProgressOutput(oFile)[source]

Bases: object

This class generates output for recording the progress

__call__(msg)[source]

Add to the progress message :param msg: the text to add

__dict__ = mappingproxy({'__weakref__': <attribute '__weakref__' of 'ProgressOutput' objects>, '__init__': <function ProgressOutput.__init__>, '__doc__': 'This class generates output for recording the progress', '__dict__': <attribute '__dict__' of 'ProgressOutput' objects>, '__module__': 'PyFoam.Basics.ProgressOutput', 'reset': <function ProgressOutput.reset>, '__call__': <function ProgressOutput.__call__>})
__init__(oFile)[source]
Parameters:oFile – file-type object that gets the progress output
__module__ = 'PyFoam.Basics.ProgressOutput'
__weakref__

list of weak references to the object (if defined)

reset()[source]

reset for the next time