00001 #ifndef _L_TXO_GLOBAL_READER_HH_ 00002 #define _L_TXO_GLOBAL_READER_HH_ 00003 00012 #include "QGlobalReader.hh" 00013 #include "QReadTXO.hh" 00014 #include "QVector.hh" 00015 #include "QVectorC.hh" 00016 #include <map> 00017 00018 class LTXOGlobalReader : public QGlobalReader 00019 { 00020 public: 00021 LTXOGlobalReader(); 00022 00023 ~LTXOGlobalReader(); 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 private: 00032 std::string fFileName; 00033 std::map<std::string, QObject*>* fQObjectCache; 00034 QReadTXO* fFile; 00035 }; 00036 00037 #endif