CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CondFormats/Common/interface/SequenceState.h

Go to the documentation of this file.
00001 #ifndef Cond_SequenceState_h
00002 #define Cond_SequenceState_h
00003 
00004 #include "CondFormats/Common/interface/Time.h"
00005 #include<string>
00006 
00007 namespace cond {
00008   
00009   class IOVSequence;
00010   
00013   class SequenceState {
00014   public:
00015     ~SequenceState();
00016     SequenceState();
00017     explicit SequenceState(IOVSequence const & seq);
00018 
00019     unsigned int size() const { return m_size; }
00020     
00021     int revision() const { return  m_revision;}
00022     
00023     cond::Time_t timestamp() const { return m_timestamp;}
00024     
00025     std::string const & comment() const  { return m_comment;}
00026   
00027 
00028   private:
00029     
00030     unsigned int m_size;
00031     int m_revision;
00032     cond::Time_t m_timestamp;
00033     std::string m_comment;
00034     
00035   };
00036 
00037 }
00038 
00039 #endif