PyFoam.Applications.CommonTemplateBehaviour module

Common class with options that describe the behaviour of the template parser

class PyFoam.Applications.CommonTemplateBehaviour.CommonTemplateBehaviour[source]

Bases: object

__dict__ = mappingproxy({'pickAssignmentDebug': <function CommonTemplateBehaviour.pickAssignmentDebug>, 'addOptions': <function CommonTemplateBehaviour.addOptions>, '__module__': 'PyFoam.Applications.CommonTemplateBehaviour', '__doc__': None, '__weakref__': <attribute '__weakref__' of 'CommonTemplateBehaviour' objects>, '__dict__': <attribute '__dict__' of 'CommonTemplateBehaviour' objects>})
__module__ = 'PyFoam.Applications.CommonTemplateBehaviour'
__weakref__

list of weak references to the object (if defined)

addOptions()[source]
pickAssignmentDebug(fName)[source]

Pick the correct comment prefix according to the file extension. Fall back to // for no/unknown extension (assuming foam-file)