QTimeR.hh
Go to the documentation of this file.00001
00008 #ifndef _QTIME_R_HH_
00009 #define _QTIME_R_HH_
00010
00011
00012 #include "QObjectR.hh"
00013 #include <Rtypes.h>
00014
00015 namespace Cuore {class QTime;}
00016
00017 class QTimeR: public QObjectR {
00018
00019 public:
00021 QTimeR();
00023 virtual ~QTimeR(){}
00024
00026 UInt_t GetStartRunUnix() const {return fUnix;}
00027
00029 ULong64_t GetFromStartRunNs() const {return fNs;}
00030
00031 const QTimeR& operator=(const Cuore::QTime& qtimedata);
00032 void Fill(Cuore::QTime& qtimedata) const;
00033 void Assign(const Cuore::QObject* obj);
00034 void FillQObject(Cuore::QObject*& obj) const;
00035
00036 private:
00037 ULong64_t fNs;
00038 UInt_t fUnix;
00039
00040 ClassDef(QTimeR,2);
00041 };
00042
00043 #endif