Public Member Functions | |
vtkFile (const fileSystem dir, const word &bName, real time, bool bnry, bool append=false) | |
virtual | ~vtkFile ()=default |
oFstream & | operator() () |
operator bool () const | |
bool | operator! () const |
bool | binary () const |
virtual fileSystem | fileName () const |
Protected Member Functions | |
bool | openStream (bool wHeader) |
virtual bool | writeHeader () |
Protected Attributes | |
uniquePtr< oFstream > | oStream_ = nullptr |
bool | binary_ = false |
bool | append_ =false |
real | time_ = 0.0 |
fileSystem | dirPath_ |
word | baseName_ |
Definition at line 33 of file vtkFile.hpp.
vtkFile | ( | const fileSystem | dir, |
const word & | bName, | ||
real | time, | ||
bool | bnry, | ||
bool | append = false |
||
) |
Definition at line 54 of file vtkFile.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
|
virtualdefault |
|
protected |
Definition at line 24 of file vtkFile.cpp.
References vtkFile::append_, vtkFile::binary_, vtkFile::fileName(), vtkFile::oStream_, and vtkFile::writeHeader().
Referenced by vtkFile::operator()().
|
protectedvirtual |
|
inline |
Definition at line 64 of file vtkFile.hpp.
References vtkFile::append_, pFlow::endl(), fatalErrorInFunction, fatalExit, vtkFile::fileName(), vtkFile::openStream(), and vtkFile::oStream_.
|
inlineexplicit |
Definition at line 78 of file vtkFile.hpp.
References vtkFile::oStream_.
|
inline |
Definition at line 85 of file vtkFile.hpp.
References vtkFile::oStream_.
|
inline |
Definition at line 94 of file vtkFile.hpp.
References vtkFile::binary_.
|
virtual |
Definition at line 79 of file vtkFile.cpp.
References pFlow::int322Word().
Referenced by pFlow::TSFtoVTK::convertRealx3TypetriSurfaceFieldSeparate(), pFlow::PFtoVTK::convertTimeFolderPointFields(), pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected(), pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFieldsSeparate(), pFlow::TSFtoVTK::convertTimeFolderTriSurfaceFieldsSingle(), vtkFile::openStream(), and vtkFile::operator()().
Definition at line 37 of file vtkFile.hpp.
Referenced by vtkFile::openStream(), vtkFile::operator bool(), vtkFile::operator!(), and vtkFile::operator()().
|
protected |
Definition at line 39 of file vtkFile.hpp.
Referenced by vtkFile::binary(), and vtkFile::openStream().
|
protected |
Definition at line 41 of file vtkFile.hpp.
Referenced by vtkFile::openStream(), and vtkFile::operator()().
|
protected |
Definition at line 43 of file vtkFile.hpp.
|
protected |
Definition at line 45 of file vtkFile.hpp.
|
protected |
Definition at line 47 of file vtkFile.hpp.