Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
Common
interface
UpdateStamp.h
Go to the documentation of this file.
1
#ifndef Cond_UpdateStamp_h
2
#define Cond_UpdateStamp_h
3
4
#include "
CondFormats/Common/interface/Time.h
"
5
#include <string>
6
7
8
namespace
cond {
9
14
class
UpdateStamp
{
15
public
:
16
// constrcutor creates and invalid stamp
17
UpdateStamp
();
18
19
UpdateStamp
(
UpdateStamp
const
& rhs);
20
21
virtual
~UpdateStamp
();
22
23
// stamp and return current revision number;
24
int
stamp
(
std::string
const
& icomment,
bool
append
=
false
);
25
26
int
revision
()
const
{
return
m_revision
;}
27
28
cond::Time_t
timestamp
()
const
{
return
m_timestamp
;}
29
30
std::string
const
&
comment
()
const
{
return
m_comment
;}
31
32
private
:
33
34
int
m_revision
;
35
cond::Time_t
m_timestamp
;
36
std::string
m_comment
;
37
};
38
39
}
// nc cond
40
41
#endif
cond::UpdateStamp::revision
int revision() const
Definition:
UpdateStamp.h:26
Time.h
python.multivaluedict.append
def append
Definition:
multivaluedict.py:73
cond::UpdateStamp::timestamp
cond::Time_t timestamp() const
Definition:
UpdateStamp.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
cond::UpdateStamp::stamp
int stamp(std::string const &icomment, bool append=false)
Definition:
UpdateStamp.cc:22
cond::Time_t
unsigned long long Time_t
Definition:
Time.h:16
cond::UpdateStamp::m_revision
int m_revision
Definition:
UpdateStamp.h:34
cond::UpdateStamp::m_timestamp
cond::Time_t m_timestamp
Definition:
UpdateStamp.h:35
cond::UpdateStamp::~UpdateStamp
virtual ~UpdateStamp()
Definition:
UpdateStamp.cc:19
cond::UpdateStamp::comment
std::string const & comment() const
Definition:
UpdateStamp.h:30
cond::UpdateStamp::m_comment
std::string m_comment
Definition:
UpdateStamp.h:36
cond::UpdateStamp
Definition:
UpdateStamp.h:14
cond::UpdateStamp::UpdateStamp
UpdateStamp()
Definition:
UpdateStamp.cc:10
Generated for CMSSW Reference Manual by
1.8.5