|
OpenMS
2.5.0
|
Go to the documentation of this file.
70 static const std::string names_of_requires[];
130 value_ = getPow_(req);
141 value_ = getPow_(req);
151 return (value_ == stat.
value_);
173 value_ &= getPow_(req);
199 value_ |= getPow_(req);
229 virtual const String& getName()
const = 0;
234 virtual Status requires()
const = 0;
243 template <
typename MAP,
typename T>
246 for (
auto& pep_id : fmap.getUnassignedPeptideIdentifications())
251 for (
auto& features : fmap)
253 for (
auto& pep_id : features.getPeptideIdentifications())
Status operator|(const Requires &req) const
Definition: QCBase.h:183
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:118
Status operator|(const Status &stat) const
Definition: QCBase.h:190
A more convenient string class.
Definition: String.h:58
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:203
Requires
Enum to encode a file type as a bit.
Definition: QCBase.h:58
Status & operator=(const Requires &req)
Assignment.
Definition: QCBase.h:139
Status & operator|=(const Requires &req)
Definition: QCBase.h:197
Map to find a spectrum via its NativeID.
Definition: QCBase.h:75
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Status operator&(const Status &stat) const
Definition: QCBase.h:164
This class serves as an abstract base class for all QC classes.
Definition: QCBase.h:52
std::map< String, UInt64 > nativeid_to_index_
Definition: QCBase.h:104
Status(const Requires &req)
Definition: QCBase.h:128
Status & operator&=(const Status &stat)
Definition: QCBase.h:177
Status()
Constructors.
Definition: QCBase.h:125
Status(const Status &stat)
Definition: QCBase.h:133
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Status & operator&=(const Requires &req)
Definition: QCBase.h:171
bool isSuperSetOf(const Status &stat) const
Check if input status fulfills requirement status.
Definition: QCBase.h:212
Status operator&(const Requires &req) const
Definition: QCBase.h:157
UInt64 value_
Definition: QCBase.h:223
static void iterateFeatureMap(MAP &fmap, T lambda)
function, which iterates through all PeptideIdentifications of a given FeatureMap and applies a given...
Definition: QCBase.h:244
UInt64 getPow_(const Requires &r) const
computes pow(2, r)
Definition: QCBase.h:219
bool operator==(const Status &stat) const
Definition: QCBase.h:149