Diana Software
LASCIIGlobalWriter.hh
Go to the documentation of this file.
1 #ifndef _L_ROOT_GLOBAL_WRITER_HH_
2 #define _L_ROOT_GLOBAL_WRITER_HH_
3 
13 #include "QGlobalWriter.hh"
14 #include "QASCII.hh"
15 #include "QVector.hh"
16 #include "QVectorC.hh"
17 #include "QTime.hh"
18 
19 
21 {
22  public:
25 
26  QError SetQObject(const std::string& name, const std::string& className, const Diana::QObject* obj, const std::string& descr);
27 
28  private:
29  void SetInt(const std::string&name, int obj);
30  void SetDouble(const std::string&name, double obj);
31  void SetFloat(const std::string&name, float obj);
32  void SetBool(const std::string&name, bool obj);
33  void SetString(const std::string&name, const std::string& obj);
34  void SetQVector(const std::string&name, const Diana::QVector *obj);
35  void SetQVectorC(const std::string&name, const Diana::QVectorC *obj);
36  void SetQTime(const std::string&name, const Diana::QTime *obj);
37  void SetQMatrix(const std::string&name, const Diana::QMatrix *obj, const std::string& descr);
38 
39  QError Open(const std::string& filename, const std::string& opt);
40  QError Close();
41 
43 
44 
45 };
46 
47 #endif
global writer for txt files
void SetQVector(const std::string &name, const Diana::QVector *obj)
QError Close()
Close file, called by QGlobalWriterDispatcher.
void SetFloat(const std::string &name, float obj)
void SetDouble(const std::string &name, double obj)
void SetInt(const std::string &name, int obj)
void SetQMatrix(const std::string &name, const Diana::QMatrix *obj, const std::string &descr)
void SetQTime(const std::string &name, const Diana::QTime *obj)
void SetString(const std::string &name, const std::string &obj)
QError SetQObject(const std::string &name, const std::string &className, const Diana::QObject *obj, const std::string &descr)
void SetBool(const std::string &name, bool obj)
void SetQVectorC(const std::string &name, const Diana::QVectorC *obj)
QError Open(const std::string &filename, const std::string &opt)
Open file, called by QGlobalWriterDispatcher.
Class for reading and writing ascii text files.
Definition: QASCII.hh:22
error class with error type and description
Definition: QError.hh:115
Abstract class for global writers.