![]() |
Diana Software
|
global writer for txt files More...
Public Member Functions | |
| LASCIIGlobalWriter () | |
| ~LASCIIGlobalWriter () | |
| QError | SetQObject (const std::string &name, const std::string &className, const Diana::QObject *obj, const std::string &descr) |
Public Member Functions inherited from QGlobalWriter | |
| QGlobalWriter (const std::string &name) | |
| constructor More... | |
| virtual | ~QGlobalWriter () |
| destructor More... | |
| template<class Q > | |
| QError | Set (const std::string &name, const Q &obj, const std::string &descr="") |
| Set QObject, owned by the caller, - leave it undeclared if you can't implement it. More... | |
Public Member Functions inherited from QNamed | |
| QNamed () | |
| QNamed (const std::string &Name) | |
| virtual | ~QNamed () |
| const std::string & | GetName () const |
| void | SetName (const std::string &name) |
Private Member Functions | |
| void | SetInt (const std::string &name, int obj) |
| void | SetDouble (const std::string &name, double obj) |
| void | SetFloat (const std::string &name, float obj) |
| void | SetBool (const std::string &name, bool obj) |
| void | SetString (const std::string &name, const std::string &obj) |
| void | SetQVector (const std::string &name, const Diana::QVector *obj) |
| void | SetQVectorC (const std::string &name, const Diana::QVectorC *obj) |
| void | SetQTime (const std::string &name, const Diana::QTime *obj) |
| void | SetQMatrix (const std::string &name, const Diana::QMatrix *obj, const std::string &descr) |
| QError | Open (const std::string &filename, const std::string &opt) |
| Open file, called by QGlobalWriterDispatcher. More... | |
| QError | Close () |
| Close file, called by QGlobalWriterDispatcher. More... | |
Private Attributes | |
| QASCII * | fFile |
Additional Inherited Members |
global writer for txt files
Definition at line 20 of file LASCIIGlobalWriter.hh.
| LASCIIGlobalWriter::LASCIIGlobalWriter | ( | ) |
Definition at line 16 of file LASCIIGlobalWriter.cc.
| LASCIIGlobalWriter::~LASCIIGlobalWriter | ( | ) |
Definition at line 20 of file LASCIIGlobalWriter.cc.
References Close().
|
privatevirtual |
Close file, called by QGlobalWriterDispatcher.
Implements QGlobalWriter.
Definition at line 245 of file LASCIIGlobalWriter.cc.
References err, fFile, and QERR_SUCCESS.
Referenced by ~LASCIIGlobalWriter().
|
privatevirtual |
Open file, called by QGlobalWriterDispatcher.
Implements QGlobalWriter.
Definition at line 206 of file LASCIIGlobalWriter.cc.
References err, QASCII::Exists(), fFile, QERR_CANNOT_OPEN_FILE, QERR_SUCCESS, and QASCII::WriteString().
|
private |
Definition at line 51 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteLine().
Referenced by SetQObject().
|
private |
Definition at line 37 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteLine().
Referenced by SetQObject().
|
private |
Definition at line 64 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteLine().
Referenced by SetQObject().
|
private |
Definition at line 26 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteLine().
Referenced by SetQObject().
|
private |
Definition at line 220 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, QMatrix::GetCol(), QMatrix::GetNCol(), QMatrix::GetNRow(), and QASCII::WriteQVectors().
Referenced by SetQObject().
|
virtual |
Implements QGlobalWriter.
Definition at line 85 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), err, fFile, QERR_SUCCESS, QERR_UNKNOWN_ERR, SetBool(), SetDouble(), SetFloat(), SetInt(), SetQMatrix(), SetQTime(), SetQVector(), SetQVectorC(), SetString(), and QASCII::WriteString().
|
private |
Definition at line 194 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteQTime().
Referenced by SetQObject().
|
private |
Definition at line 165 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteQVector().
Referenced by SetQObject().
|
private |
Definition at line 177 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteQVectors().
Referenced by SetQObject().
|
private |
Definition at line 75 of file LASCIIGlobalWriter.cc.
References QASCII::Comment(), fFile, and QASCII::WriteLine().
Referenced by SetQObject().
|
private |
Definition at line 42 of file LASCIIGlobalWriter.hh.
Referenced by Close(), Open(), SetBool(), SetDouble(), SetFloat(), SetInt(), SetQMatrix(), SetQObject(), SetQTime(), SetQVector(), SetQVectorC(), and SetString().