1 #ifndef CondCore_CondDB_Types_h 2 #define CondCore_CondDB_Types_h 15 #include <boost/date_time/posix_time/posix_time.hpp> 16 #include <boost/functional/hash.hpp> 51 virtual ~
Iov_t() =
default;
61 virtual ~
Tag_t() =
default;
120 GTEntry_t(
const std::tuple<std::string,std::string,std::string>& gtEntryData ):
121 m_data( gtEntryData ){
124 m_data( rhs.m_data ){
133 return std::get<0>(m_data);
136 return std::get<1>(m_data);
139 return std::get<2>(m_data);
144 boost::hash<std::string> hasher;
147 std::size_t
result=hasher(key);
151 return this->hashvalue()<toCompare.
hashvalue();
155 std::tuple<std::string,std::string,std::string>
m_data;
159 RunInfo_t(
const std::tuple<long long unsigned int, boost::posix_time::ptime,boost::posix_time::ptime>&
data ):
166 boost::posix_time::ptime
end;
boost::posix_time::ptime end
std::string synchronizationTypeNames(SynchronizationType type)
std::pair< Time_t, Time_t > ValidityInterval
SynchronizationType synchronizationType
RunInfo_t(const std::tuple< long long unsigned int, boost::posix_time::ptime, boost::posix_time::ptime > &data)
cond::ValidityInterval lastInterval
GTEntry_t(const std::tuple< std::string, std::string, std::string > >EntryData)
unsigned long long Time_t
SynchronizationType synchronizationTypeFromName(const std::string &name)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
boost::posix_time::ptime start
const std::string & recordLabel() const
std::string destinationDB
std::tuple< std::string, std::string, std::string > m_data
GTEntry_t & operator=(const GTEntry_t &rhs)
static constexpr unsigned int HASH_SIZE
std::string lastPayloadToken
unsigned long long lastSince
char data[epos_bytes_allocation]
const std::string & recordName() const
const std::string & tagName() const
bool operator<(const GTEntry_t &toCompare) const
GTEntry_t(const GTEntry_t &rhs)
std::size_t hashvalue() const
const Time_t MAX_VAL(std::numeric_limits< Time_t >::max())
T get(const Candidate &c)