CMS 3D CMS Logo

Public Member Functions | Private Attributes

cond::SequenceState Class Reference

#include <SequenceState.h>

List of all members.

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.

{}
cond::SequenceState::SequenceState ( )

Definition at line 8 of file SequenceState.cc.

                               : 
    m_size(0), m_revision(-1), m_timestamp(0), m_comment("not stamped"){}
cond::SequenceState::SequenceState ( IOVSequence const &  seq) [explicit]

Definition at line 11 of file SequenceState.cc.

                                                      :
    m_size(seq.piovs().size()), m_revision(seq.revision()), 
    m_timestamp(seq.timestamp()), 
    m_comment(seq.comment()){}

Member Function Documentation

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

Definition at line 25 of file SequenceState.h.

References m_comment.

{ return m_comment;}
int cond::SequenceState::revision ( ) const [inline]

Definition at line 21 of file SequenceState.h.

References m_revision.

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

Definition at line 19 of file SequenceState.h.

References m_size.

{ return m_size; }
cond::Time_t cond::SequenceState::timestamp ( ) const [inline]

Definition at line 23 of file SequenceState.h.

References m_timestamp.

{ return m_timestamp;}

Member Data Documentation

std::string cond::SequenceState::m_comment [private]

Definition at line 33 of file SequenceState.h.

Referenced by comment().

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().

Definition at line 32 of file SequenceState.h.

Referenced by timestamp().