Home | Trees | Index | Help |
---|
Package PyFoam :: Package RunDictionary :: Module ParsedParameterFile :: Class ParsedParameterFile |
|
Utilities
--+ |FileBasis
--+ |FileBasisBackup
--+ | ParsedParameterFile
Method Summary | |
---|---|
| |
__getitem__(self,
key)
| |
__setitem__(self,
key,
value)
| |
Generates a string from the contents in memory | |
Constructs a representation of the file | |
Inherited from FileBasisBackup | |
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 | |
creates a temporary file | |
opens the file. | |
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,
debug=False)
|
makeString(self)Generates a string from the contents in memory |
parse(self, content)Constructs a representation of the file |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |