#include <UpdateStamp.h>
Public Member Functions | |
std::string const & | comment () const |
int | revision () const |
int | stamp (std::string const &icomment, bool append=false) |
cond::Time_t | timestamp () const |
UpdateStamp () | |
UpdateStamp (UpdateStamp const &rhs) | |
virtual | ~UpdateStamp () |
Private Attributes | |
COND_SERIALIZABLE | |
std::string | m_comment |
int | m_revision |
cond::Time_t | m_timestamp |
class to "stamp" a new version of an updateble persistent object it includes a timestamp, a sequential revision number and a comment no history in mantained at the moment
Definition at line 16 of file UpdateStamp.h.
cond::UpdateStamp::UpdateStamp | ( | ) |
Definition at line 10 of file UpdateStamp.cc.
cond::UpdateStamp::UpdateStamp | ( | UpdateStamp const & | rhs | ) |
|
virtual |
Definition at line 19 of file UpdateStamp.cc.
|
inline |
|
inline |
int cond::UpdateStamp::stamp | ( | std::string const & | icomment, |
bool | append = false |
||
) |
Definition at line 22 of file UpdateStamp.cc.
References m_comment, m_revision, m_timestamp, cond::time::now(), and cmsHarvester::sep.
|
inline |
|
private |
Definition at line 40 of file UpdateStamp.h.
|
private |
Definition at line 38 of file UpdateStamp.h.
Referenced by comment(), stamp(), and UpdateStamp().
|
private |
Definition at line 36 of file UpdateStamp.h.
Referenced by revision(), stamp(), and UpdateStamp().
|
private |
Definition at line 37 of file UpdateStamp.h.
Referenced by stamp(), timestamp(), and UpdateStamp().