LASCIIGlobalReader.hh

Go to the documentation of this file.
00001 #ifndef _L_ROOT_GLOBAL_READER_HH_
00002 #define _L_ROOT_GLOBAL_READER_HH_
00003 
00012 #include "QGlobalReader.hh"
00013 #include "QASCII.hh"
00014 #include "QVector.hh"
00015 #include "QVectorC.hh"
00016 #include <map>
00017 
00018 class LASCIIGlobalReader : public QGlobalReader
00019 {
00020     public:
00021         LASCIIGlobalReader();
00022         
00023         ~LASCIIGlobalReader();
00024         
00025         QError Open(const std::string& filename, const std::string& opt = "");
00026 
00027         QError Close();
00028         
00029         const QObject* GetQObject(const std::string& name) const;
00030         
00031         double GetDouble(const std::string& name) const;
00032 
00033         int GetInt(const std::string& name) const;
00034 
00035         float GetFloat(const std::string& name) const;
00036 
00037         bool GetBool(const std::string& name) const;
00038 
00039         std::string GetString(const std::string& name) const;
00040                   
00041 //                QVector* GetQVector(const std::string& name) const;
00042                   
00043 //                QVectorC* GetQVectorC(const std::string& name) const;
00044 
00045     private:
00046         std::string fFileName;
00047         std::map<std::string, QObject*>* fQObjectCache;
00048                   QASCII* fFile;
00049 };
00050 
00051 #endif

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1