CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SequenceState.h
Go to the documentation of this file.
1 #ifndef Cond_SequenceState_h
2 #define Cond_SequenceState_h
3 
5 #include<string>
6 
7 namespace cond {
8 
9  class IOVSequence;
10 
13  class SequenceState {
14  public:
16  SequenceState();
17  explicit SequenceState(IOVSequence const & seq);
18 
19  unsigned int size() const { return m_size; }
20 
21  int revision() const { return m_revision;}
22 
23  cond::Time_t timestamp() const { return m_timestamp;}
24 
25  std::string const & comment() const { return m_comment;}
26 
27 
28  private:
29 
30  unsigned int m_size;
34 
35  };
36 
37 }
38 
39 #endif
unsigned int m_size
Definition: SequenceState.h:30
cond::Time_t m_timestamp
Definition: SequenceState.h:32
std::string m_comment
Definition: SequenceState.h:33
cond::Time_t timestamp() const
Definition: SequenceState.h:23
unsigned long long Time_t
Definition: Time.h:16
std::string const & comment() const
Definition: SequenceState.h:25
int revision() const
Definition: SequenceState.h:21
unsigned int size() const
Definition: SequenceState.h:19