35 #ifndef OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERDEFS_H 36 #define OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERDEFS_H 70 NoSuccessor(
const char * file,
int line,
const char *
function,
const IndexPair & index) :
71 BaseException(file, line, function,
"NoSuccessor",
"no successor/predecessor"),
74 what_ =
String(
"there is no successor/predecessor for the given Index: ") + index_.first +
"/" + index_.second;
87 #endif // OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERDEFS_H IsotopeCluster::IndexPair IndexPair
Index to peak consisting of two UInts (scan index / peak index)
Definition: FeatureFinderDefs.h:54
A more convenient string class.
Definition: String.h:57
std::pair< Size, Size > IndexPair
An index e.g. in an MSExperiment.
Definition: IsotopeCluster.h:48
Flag
Flags that indicate if a peak is already used in a feature.
Definition: FeatureFinderDefs.h:63
IndexPair index_
Definition: FeatureFinderDefs.h:83
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
The purpose of this struct is to provide definitions of classes and typedefs which are used throughou...
Definition: FeatureFinderDefs.h:51
static GlobalExceptionHandler & getInstance()
The accessor for the singleton. It also serves as a replacement for the constructor.
Definition: GlobalExceptionHandler.h:89
NoSuccessor(const char *file, int line, const char *function, const IndexPair &index)
Definition: FeatureFinderDefs.h:70
IsotopeCluster::IndexSet IndexSet
A set of peak indices.
Definition: FeatureFinderDefs.h:60
virtual ~NoSuccessor()
Definition: FeatureFinderDefs.h:78
Exception that is thrown if a method an invalid IndexPair is given.
Definition: FeatureFinderDefs.h:66
Exception base class.
Definition: Exception.h:90
IsotopeCluster::ChargedIndexSet ChargedIndexSet
Index to peak consisting of two UInts (scan index / peak index) with charge information.
Definition: FeatureFinderDefs.h:57
static void setMessage(const std::string &message)
index set with associated charge estimate
Definition: IsotopeCluster.h:53
std::set< IndexPair > IndexSet
A set of index pairs, usually referring to an MSExperiment.
Definition: IsotopeCluster.h:50