1 #ifndef Framework_IOVSyncValue_h
2 #define Framework_IOVSyncValue_h
47 return comparable(iRHS) && doOp<std::equal_to>(iRHS);
50 return (!
comparable(iRHS)) || doOp<std::not_equal_to>(iRHS);
54 return doOp<std::less>(iRHS);
57 return doOp<std::less_equal>(iRHS);
60 return doOp<std::greater>(iRHS);
63 return doOp<std::greater_equal>(iRHS);
85 template<
template <
typename>
class Op >
87 bool returnValue =
false;
94 Op<LuminosityBlockNumber_t> op;
bool doOp(const IOVSyncValue &iRHS) const
const EventID & eventID() const
static const IOVSyncValue & endOfTime()
LuminosityBlockNumber_t luminosityBlock() const
unsigned int LuminosityBlockNumber_t
bool operator>(const IOVSyncValue &iRHS) const
void throwInvalidComparison() const
static const IOVSyncValue & beginOfTime()
bool operator<(const IOVSyncValue &iRHS) const
LuminosityBlockNumber_t luminosityBlockNumber() const
bool operator<=(const IOVSyncValue &iRHS) const
bool operator>=(const IOVSyncValue &iRHS) const
bool operator==(const IOVSyncValue &iRHS) const
const Timestamp & time() const
bool operator!=(const IOVSyncValue &iRHS) const
bool comparable(const IOVSyncValue &iOther) const
static const IOVSyncValue & invalidIOVSyncValue()