78 void setId(
const String &
id);
Represents a object which can store the information of an analysisXML instance.
Definition: IdentificationHit.h:50
double experimental_mass_to_charge_
experimental mass to charge ratio
Definition: IdentificationHit.h:127
bool operator==(const IdentificationHit &rhs) const
Equality operator.
void setExperimentalMassToCharge(double mz)
sets the experimental mass to charge ratio
IdentificationHit()
Default constructor.
IdentificationHit(IdentificationHit &&)=default
Move constructor.
bool getPassThreshold() const
returns whether the peptide passed the threshold
IdentificationHit & operator=(IdentificationHit &&) &=default
Move assignment operator.
String name_
name
Definition: IdentificationHit.h:128
void setCalculatedMassToCharge(double mz)
sets the calculated mass to charge ratio
double getCalculatedMassToCharge() const
returns the calculated mass to charge ratio
const String & getId() const
returns the id
IdentificationHit & operator=(const IdentificationHit &)=default
Assignment operator.
Int getCharge() const
returns the charge state
double calculated_mass_to_charge_
calculated mass to charge ratio
Definition: IdentificationHit.h:126
void setName(const String &name)
sets the name
IdentificationHit(const IdentificationHit &)=default
Copy constructor.
Int getRank() const
returns the rank of the peptide
bool pass_threshold_
pass threshold
Definition: IdentificationHit.h:129
Int rank_
rank of the peptide
Definition: IdentificationHit.h:130
const String & getName() const
returns the name
bool operator!=(const IdentificationHit &rhs) const
Inequality operator.
double getExperimentalMassToCharge() const
returns the experimental mass to charge
void setCharge(Int charge)
sets the charge state of the peptide
void setPassThreshold(bool pass)
sets whether the peptide passed the threshold
String id_
identifier
Definition: IdentificationHit.h:124
void setRank(Int rank)
set the rank of the peptide
virtual ~IdentificationHit()
Destructor.
Int charge_
peptide charge
Definition: IdentificationHit.h:125
A more convenient string class.
Definition: String.h:60
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48