12#ifndef O2_QUALITYCONTROL_QCFLAG_H
13#define O2_QUALITYCONTROL_QCFLAG_H
30#include "DataFormatsQualityControl/FlagTypeFactory.h"
34namespace quality_control
54 const std::string&
getComment()
const {
return mComment; }
55 const std::string&
getSource()
const {
return mSource; }
61 void setComment(
const std::string& comment) { mComment = comment; }
80 std::string mComment =
"";
81 std::string mSource =
"Unknown";
Class to represent an interval and some operations over it.
void setMax(T v) noexcept
void setMin(T v) noexcept
bool operator>(const QualityControlFlag &rhs) const
RangeInterval & getInterval()
const std::string & getSource() const
void setStart(time_type start)
void setFlag(FlagType flag)
void setComment(const std::string &comment)
void setSource(const std::string &source)
const std::string & getComment() const
QualityControlFlag(QualityControlFlag const &)=default
void setInterval(RangeInterval interval)
o2::math_utils::detail::Bracket< time_type > RangeInterval
QualityControlFlag()=default
friend std::ostream & operator<<(std::ostream &output, const QualityControlFlag &data)
overloading output stream operator
bool operator<(const QualityControlFlag &rhs) const
comparison operators
void streamTo(std::ostream &output) const
write data to ostream
const RangeInterval getInterval() const
time_type getStart() const
bool operator==(const QualityControlFlag &rhs) const
equal operator
void setEnd(time_type end)
GLsizei GLsizei GLchar * source
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...