CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CondFormats/Common/src/SequenceState.cc

Go to the documentation of this file.
00001 #include "CondFormats/Common/interface/SequenceState.h"
00002 #include "CondFormats/Common/interface/IOVSequence.h"
00003 
00004 namespace cond {
00005 
00006   SequenceState::~SequenceState(){}
00007 
00008   SequenceState::SequenceState() : 
00009     m_size(0), m_revision(-1), m_timestamp(0), m_comment("not stamped"){}
00010   
00011   SequenceState::SequenceState(IOVSequence const & seq) :
00012     m_size(seq.piovs().size()), m_revision(seq.revision()), 
00013     m_timestamp(seq.timestamp()), 
00014     m_comment(seq.comment()){}
00015   
00016 }