|
OpenMS
2.6.0
|
Go to the documentation of this file.
72 static const std::string names_of_requires[];
132 value_ = getPow_(req);
143 value_ = getPow_(req);
153 return (value_ == stat.
value_);
175 value_ &= getPow_(req);
201 value_ |= getPow_(req);
231 virtual const String& getName()
const = 0;
236 virtual Status requires()
const = 0;
241 bool isRunnable(
const Status& s)
const;
244 static bool isLabeledExperiment(
const ConsensusMap& cm);
247 template <
typename MAP>
250 if (!fmap.getUnassignedPeptideIdentifications().empty())
return true;
252 for (
const auto& features : fmap)
254 if (!features.getPeptideIdentifications().empty())
return true;
Status operator|(const Requires &req) const
Definition: QCBase.h:185
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
Storing a status of available/needed inputs (i.e. a set of Requires) as UInt64.
Definition: QCBase.h:120
Status operator|(const Status &stat) const
Definition: QCBase.h:192
A more convenient string class.
Definition: String.h:59
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Status & operator|=(const Status &stat)
Definition: QCBase.h:205
Requires
Enum to encode a file type as a bit.
Definition: QCBase.h:60
Status & operator=(const Requires &req)
Assignment.
Definition: QCBase.h:141
Status & operator|=(const Requires &req)
Definition: QCBase.h:199
Map to find a spectrum via its NativeID.
Definition: QCBase.h:77
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Status operator&(const Status &stat) const
Definition: QCBase.h:166
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:54
std::map< String, UInt64 > nativeid_to_index_
Definition: QCBase.h:106
Status(const Requires &req)
Definition: QCBase.h:130
Status & operator&=(const Status &stat)
Definition: QCBase.h:179
Status()
Constructors.
Definition: QCBase.h:127
Status(const Status &stat)
Definition: QCBase.h:135
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
A container for consensus elements.
Definition: ConsensusMap.h:80
Status & operator&=(const Requires &req)
Definition: QCBase.h:173
bool isSuperSetOf(const Status &stat) const
Check if input status fulfills requirement status.
Definition: QCBase.h:214
static bool hasPepID(const MAP &fmap)
does the container have a PeptideIdentification in its members or as unassignedPepID ?
Definition: QCBase.h:248
Status operator&(const Requires &req) const
Definition: QCBase.h:159
UInt64 value_
Definition: QCBase.h:225
UInt64 getPow_(const Requires &r) const
computes pow(2, r)
Definition: QCBase.h:221
bool operator==(const Status &stat) const
Definition: QCBase.h:151