CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cond::SequenceState Class Reference

#include <SequenceState.h>

Public Member Functions

std::string const & comment () const
 
int revision () const
 
 SequenceState ()
 
 SequenceState (IOVSequence const &seq)
 
unsigned int size () const
 
cond::Time_t timestamp () const
 
 ~SequenceState ()
 

Private Attributes

std::string m_comment
 
int m_revision
 
unsigned int m_size
 
cond::Time_t m_timestamp
 

Detailed Description

capture the state of a IOV sequence at a given time

Definition at line 13 of file SequenceState.h.

Constructor & Destructor Documentation

cond::SequenceState::~SequenceState ( )

Definition at line 6 of file SequenceState.cc.

6 {}
cond::SequenceState::SequenceState ( )

Definition at line 8 of file SequenceState.cc.

8  :
9  m_size(0), m_revision(-1), m_timestamp(0), m_comment("not stamped"){}
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::SequenceState::SequenceState ( IOVSequence const &  seq)
explicit

Definition at line 11 of file SequenceState.cc.

11  :
12  m_size(seq.piovs().size()), m_revision(seq.revision()),
13  m_timestamp(seq.timestamp()),
14  m_comment(seq.comment()){}
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

Member Function Documentation

std::string const& cond::SequenceState::comment ( ) const
inline

Definition at line 25 of file SequenceState.h.

References m_comment.

25 { return m_comment;}
std::string m_comment
Definition: SequenceState.h:33
int cond::SequenceState::revision ( ) const
inline

Definition at line 21 of file SequenceState.h.

References m_revision.

21 { return m_revision;}
unsigned int cond::SequenceState::size ( void  ) const
inline

Definition at line 19 of file SequenceState.h.

References m_size.

19 { return m_size; }
unsigned int m_size
Definition: SequenceState.h:30
cond::Time_t cond::SequenceState::timestamp ( ) const
inline

Definition at line 23 of file SequenceState.h.

References m_timestamp.

23 { return m_timestamp;}
cond::Time_t m_timestamp
Definition: SequenceState.h:32

Member Data Documentation

std::string cond::SequenceState::m_comment
private

Definition at line 33 of file SequenceState.h.

Referenced by comment().

int cond::SequenceState::m_revision
private

Definition at line 31 of file SequenceState.h.

Referenced by revision().

unsigned int cond::SequenceState::m_size
private

Definition at line 30 of file SequenceState.h.

Referenced by size().

cond::Time_t cond::SequenceState::m_timestamp
private

Definition at line 32 of file SequenceState.h.

Referenced by timestamp().