![]() |
Diana Software
|
Public Member Functions | |
| LGuiSessionWriter () | |
| ~LGuiSessionWriter () | |
| 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 | |
| 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 | |
| std::ofstream | fGuiSessionFile |
Additional Inherited Members |
Definition at line 16 of file LGuiSessionWriter.hh.
| LGuiSessionWriter::LGuiSessionWriter | ( | ) |
Definition at line 16 of file LGuiSessionWriter.cc.
| LGuiSessionWriter::~LGuiSessionWriter | ( | ) |
Definition at line 20 of file LGuiSessionWriter.cc.
References Close().
|
privatevirtual |
Close file, called by QGlobalWriterDispatcher.
Implements QGlobalWriter.
Definition at line 63 of file LGuiSessionWriter.cc.
References err, fGuiSessionFile, and QERR_SUCCESS.
Referenced by ~LGuiSessionWriter().
|
privatevirtual |
Open file, called by QGlobalWriterDispatcher.
Implements QGlobalWriter.
Definition at line 52 of file LGuiSessionWriter.cc.
References err, fGuiSessionFile, QERR_CANNOT_OPEN_FILE, and QERR_SUCCESS.
|
virtual |
Implements QGlobalWriter.
Definition at line 25 of file LGuiSessionWriter.cc.
References CANVAS_WINDOW_KEY, err, fGuiSessionFile, FILE_KEY, QFileWriter::GetFileList(), QReader::GetFilesList(), NAME_KEY, QERR_SUCCESS, and QERR_UNKNOWN_ERR.
|
private |
Definition at line 27 of file LGuiSessionWriter.hh.
Referenced by Close(), Open(), and SetQObject().