Project
Loading...
Searching...
No Matches
o2::quality_control::QualityControlFlag Class Reference

#include <QualityControlFlag.h>

Public Types

using time_type = uint64_t
 
using RangeInterval = o2::math_utils::detail::Bracket< time_type >
 

Public Member Functions

 QualityControlFlag ()=default
 
 QualityControlFlag (QualityControlFlag const &)=default
 
 QualityControlFlag (time_type start, time_type end, FlagType flag, std::string comment="", std::string source="Unknown")
 
time_type getStart () const
 
time_type getEnd () const
 
RangeIntervalgetInterval ()
 
const RangeInterval getInterval () const
 
FlagType getFlag () const
 
const std::string & getComment () const
 
const std::string & getSource () const
 
void setStart (time_type start)
 
void setEnd (time_type end)
 
void setInterval (RangeInterval interval)
 
void setFlag (FlagType flag)
 
void setComment (const std::string &comment)
 
void setSource (const std::string &source)
 
bool operator== (const QualityControlFlag &rhs) const
 equal operator
 
bool operator< (const QualityControlFlag &rhs) const
 comparison operators
 
bool operator> (const QualityControlFlag &rhs) const
 
void streamTo (std::ostream &output) const
 write data to ostream
 

Friends

std::ostream & operator<< (std::ostream &output, const QualityControlFlag &data)
 overloading output stream operator
 

Detailed Description

A Class for associating a bit mask with a time range

Definition at line 39 of file QualityControlFlag.h.

Member Typedef Documentation

◆ RangeInterval

◆ time_type

Definition at line 42 of file QualityControlFlag.h.

Constructor & Destructor Documentation

◆ QualityControlFlag() [1/3]

o2::quality_control::QualityControlFlag::QualityControlFlag ( )
default

◆ QualityControlFlag() [2/3]

o2::quality_control::QualityControlFlag::QualityControlFlag ( QualityControlFlag const &  )
default

◆ QualityControlFlag() [3/3]

o2::quality_control::QualityControlFlag::QualityControlFlag ( time_type  start,
time_type  end,
FlagType  flag,
std::string  comment = "",
std::string  source = "Unknown" 
)

Definition at line 20 of file QualityControlFlag.cxx.

Member Function Documentation

◆ getComment()

const std::string & o2::quality_control::QualityControlFlag::getComment ( ) const
inline

Definition at line 54 of file QualityControlFlag.h.

◆ getEnd()

time_type o2::quality_control::QualityControlFlag::getEnd ( ) const
inline

Definition at line 50 of file QualityControlFlag.h.

◆ getFlag()

FlagType o2::quality_control::QualityControlFlag::getFlag ( ) const
inline

Definition at line 53 of file QualityControlFlag.h.

◆ getInterval() [1/2]

RangeInterval & o2::quality_control::QualityControlFlag::getInterval ( )
inline

Definition at line 51 of file QualityControlFlag.h.

◆ getInterval() [2/2]

const RangeInterval o2::quality_control::QualityControlFlag::getInterval ( ) const
inline

Definition at line 52 of file QualityControlFlag.h.

◆ getSource()

const std::string & o2::quality_control::QualityControlFlag::getSource ( ) const
inline

Definition at line 55 of file QualityControlFlag.h.

◆ getStart()

time_type o2::quality_control::QualityControlFlag::getStart ( ) const
inline

Definition at line 49 of file QualityControlFlag.h.

◆ operator<()

bool o2::quality_control::QualityControlFlag::operator< ( const QualityControlFlag rhs) const

comparison operators

Definition at line 33 of file QualityControlFlag.cxx.

◆ operator==()

bool o2::quality_control::QualityControlFlag::operator== ( const QualityControlFlag rhs) const

equal operator

Definition at line 28 of file QualityControlFlag.cxx.

◆ operator>()

bool o2::quality_control::QualityControlFlag::operator> ( const QualityControlFlag rhs) const

Definition at line 41 of file QualityControlFlag.cxx.

◆ setComment()

void o2::quality_control::QualityControlFlag::setComment ( const std::string &  comment)
inline

Definition at line 61 of file QualityControlFlag.h.

◆ setEnd()

void o2::quality_control::QualityControlFlag::setEnd ( time_type  end)
inline

Definition at line 58 of file QualityControlFlag.h.

◆ setFlag()

void o2::quality_control::QualityControlFlag::setFlag ( FlagType  flag)
inline

Definition at line 60 of file QualityControlFlag.h.

◆ setInterval()

void o2::quality_control::QualityControlFlag::setInterval ( RangeInterval  interval)
inline

Definition at line 59 of file QualityControlFlag.h.

◆ setSource()

void o2::quality_control::QualityControlFlag::setSource ( const std::string &  source)
inline

Definition at line 62 of file QualityControlFlag.h.

◆ setStart()

void o2::quality_control::QualityControlFlag::setStart ( time_type  start)
inline

Definition at line 57 of file QualityControlFlag.h.

◆ streamTo()

void o2::quality_control::QualityControlFlag::streamTo ( std::ostream &  output) const

write data to ostream

Definition at line 48 of file QualityControlFlag.cxx.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const QualityControlFlag data 
)
friend

overloading output stream operator

Definition at line 58 of file QualityControlFlag.cxx.


The documentation for this class was generated from the following files: