Home | Trees | Index | Help |
---|
Package PyFoam :: Package RunDictionary :: Module FileBasis :: Class FileBasisBackup |
|
Utilities
--+ |FileBasis
--+ | FileBasisBackup
BlockMesh
,
ParameterFile
,
ParsedParameterFile
,
ParsedParameterFile
Method Summary | |
---|---|
| |
if a backup-copy was made the file is restored from this | |
Inherited from FileBasis | |
closes the file | |
Copy the rest of the file | |
Read lines until a regular expression is matched | |
Read lines until a token is found | |
Build a string from self.content, to be overriden by sub-classes | |
creates a temporary file | |
opens the file. | |
Parse a string that is to be the content, to be overriden by the sub-classes | |
Undo all the manipulations done by PyFOAM | |
read the whole File into memory | |
write the whole File from memory | |
Inherited from Utilities | |
Execute the command cmd | |
Lists the files in a directory, but excludes certain names and files with certain endings | |
Writes a dummy header so OpenFOAM accepts the file as a dictionary |
Class Variable Summary | |
---|---|
Inherited from FileBasis | |
str |
addedString = '//PyFoamAdded'
|
str |
removedString = '//PyFoamRemoved: '
|
Inherited from Utilities | |
list |
excludeNames = ['^.svn$', '~$']
|
Method Details |
---|
__init__(self,
name,
backup=False)
|
restore(self)if a backup-copy was made the file is restored from this |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |