| PSCF v1.3.3
    | 
Class that contains metadata for a file. More...
 
  
| Public Member Functions | |
| __init__ (self, path=None, scan=1) | |
| Constructor. | |
| __str__ (self) | |
| String representation of file data. | |
| __repr__ (self) | |
| String representation of file data. | |
| open (self, mode) | |
| Open this file in specified mode. | |
| write (self, filename) | |
| Write XML representation to a file. | |
| __eq__ (self, other) | |
| Test for equality of files. | |
| __ne__ (self, other) | |
| Test for inequality of files. | |
| pscfpp.file.File.__init__ | ( | self, | |
| path = None, | |||
| scan = 1 ) | 
| pscfpp.file.File.__str__ | ( | self | ) | 
String representation of file data.
Definition at line 120 of file file.py.
References path.
Referenced by pscfpp.output.State.write(), and pscfpp.output.Thermo.write().
| pscfpp.file.File.__repr__ | ( | self | ) | 
| pscfpp.file.File.open | ( | self, | |
| mode ) | 
| pscfpp.file.File.write | ( | self, | |
| filename ) | 
Write XML representation to a file.
| filename | name of output file | 
Reimplemented in pscfpp.file.Directory.
| pscfpp.file.File.__eq__ | ( | self, | |
| other ) | 
Test for equality of files.
This function returns true if this and other are equivalent.
| other | file to which to compare this one. | 
Definition at line 166 of file file.py.
References path, Pscf::Prdc::Basis< D >::Star.size, and size.
| pscfpp.file.File.__ne__ | ( | self, | |
| other ) |