Package PyFoam :: Package RunDictionary :: Module ListFile :: Class ListFile
[hide private]
[frames] | no frames]

Class ListFile

source code

                object --+            
                         |            
Basics.Utilities.Utilities --+        
                             |        
           FileBasis.FileBasis --+    
                                 |    
         SolutionFile.SolutionFile --+
                                     |
                                    ListFile

Represents a OpenFOAM file with only a list

Instance Methods [hide private]
 
__init__(self, place, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getSize(self)
Returns: the size of the list
source code

Inherited from SolutionFile.SolutionFile: dimensionPattern, getContent, getDimensionString, internalPattern, internalPatternGeneral, internalPatternUniform, readBoundary, readDimension, readInternal, readInternalUniform, replaceBoundary, replaceInternal, stopPattern, valuePattern

Inherited from FileBasis.FileBasis: __str__, baseName, closeFile, copyRest, getCaseDir, goMatch, goTo, makeTemp, openFile, parse, purgeFile, readFile, realName, writeFile, writeFileAs

Inherited from Basics.Utilities.Utilities: execute, listDirectory, writeDictionaryHeader

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

Class Variables [hide private]

Inherited from FileBasis.FileBasis: addedString, removedString

Inherited from Basics.Utilities.Utilities: excludeNames

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, place, name)
(Constructor)

source code 

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

Parameters:
  • place - directory of the file
  • name - The name of the list file
Overrides: object.__init__

getSize(self)

source code 
Returns:
the size of the list