OpenMS
|
Represents a object which can store the information of an analysisXML instance. More...
#include <OpenMS/FORMAT/HANDLERS/MzIdentMLHandler.h>
Public Member Functions | |
Constructors, Destructors, Assignment Operators | |
IdentificationHit ()=default | |
Default constructor. More... | |
IdentificationHit (const IdentificationHit &)=default | |
Copy constructor. More... | |
virtual | ~IdentificationHit ()=default |
Virtual destructor. More... | |
IdentificationHit (IdentificationHit &&) noexcept=default | |
Move constructor. More... | |
IdentificationHit & | operator= (const IdentificationHit &)=default |
Copy assignment operator. More... | |
IdentificationHit & | operator= (IdentificationHit &&) noexcept=default |
Move assignment operator. More... | |
Equality and Inequality Operators | |
bool | operator== (const IdentificationHit &rhs) const noexcept |
Checks for equality with another IdentificationHit object. More... | |
bool | operator!= (const IdentificationHit &rhs) const noexcept |
Checks for inequality with another IdentificationHit object. More... | |
Public Member Functions inherited from MetaInfoInterface | |
MetaInfoInterface () | |
Constructor. More... | |
MetaInfoInterface (const MetaInfoInterface &rhs) | |
Copy constructor. More... | |
MetaInfoInterface (MetaInfoInterface &&) noexcept | |
Move constructor. More... | |
~MetaInfoInterface () | |
Destructor. More... | |
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
Assignment operator. More... | |
MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
Move assignment operator. More... | |
void | swap (MetaInfoInterface &rhs) |
Swap contents. More... | |
bool | operator== (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
bool | operator!= (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
const DataValue & | getMetaValue (const String &name) const |
Returns the value corresponding to a string, or DataValue::EMPTY if not found. More... | |
DataValue | getMetaValue (const String &name, const DataValue &default_value) const |
Returns the value corresponding to a string, or a default value (e.g.: DataValue::EMPTY) if not found More... | |
const DataValue & | getMetaValue (UInt index) const |
Returns the value corresponding to the index, or DataValue::EMPTY if not found. More... | |
DataValue | getMetaValue (UInt index, const DataValue &default_value) const |
Returns the value corresponding to the index, or a default value (e.g.: DataValue::EMPTY) if not found More... | |
bool | metaValueExists (const String &name) const |
Returns whether an entry with the given name exists. More... | |
bool | metaValueExists (UInt index) const |
Returns whether an entry with the given index exists. More... | |
void | setMetaValue (const String &name, const DataValue &value) |
Sets the DataValue corresponding to a name. More... | |
void | setMetaValue (UInt index, const DataValue &value) |
Sets the DataValue corresponding to an index. More... | |
void | removeMetaValue (const String &name) |
Removes the DataValue corresponding to name if it exists. More... | |
void | removeMetaValue (UInt index) |
Removes the DataValue corresponding to index if it exists. More... | |
void | addMetaValues (const MetaInfoInterface &from) |
function to copy all meta values from one object to this one More... | |
void | getKeys (std::vector< String > &keys) const |
Fills the given vector with a list of all keys for which a value is set. More... | |
void | getKeys (std::vector< UInt > &keys) const |
Fills the given vector with a list of all keys for which a value is set. More... | |
bool | isMetaEmpty () const |
Returns if the MetaInfo is empty. More... | |
void | clearMetaInfo () |
Removes all meta values. More... | |
Accessors | |
std::string | id_ |
Identifier. More... | |
int | charge_ = 0 |
Peptide charge. More... | |
double | calculated_mass_to_charge_ = 0.0 |
Calculated mass to charge ratio. More... | |
double | experimental_mass_to_charge_ = 0.0 |
Experimental mass to charge ratio. More... | |
std::string | name_ |
Name. More... | |
bool | pass_threshold_ = true |
Pass threshold. More... | |
int | rank_ = 0 |
Rank of the peptide. More... | |
void | setId (const std::string &id) noexcept |
Sets the identifier. More... | |
const std::string & | getId () const noexcept |
Returns the identifier. More... | |
void | setCharge (int charge) noexcept |
Sets the charge state of the peptide. More... | |
int | getCharge () const noexcept |
Returns the charge state of the peptide. More... | |
void | setCalculatedMassToCharge (double mz) noexcept |
Sets the calculated mass to charge ratio. More... | |
double | getCalculatedMassToCharge () const noexcept |
Returns the calculated mass to charge ratio. More... | |
void | setExperimentalMassToCharge (double mz) noexcept |
Sets the experimental mass to charge ratio. More... | |
double | getExperimentalMassToCharge () const noexcept |
Returns the experimental mass to charge ratio. More... | |
void | setName (const std::string &name) noexcept |
Sets the name. More... | |
const std::string & | getName () const noexcept |
Returns the name. More... | |
void | setPassThreshold (bool pass) noexcept |
Sets whether the peptide passed the threshold. More... | |
bool | getPassThreshold () const noexcept |
Returns whether the peptide passed the threshold. More... | |
void | setRank (int rank) noexcept |
Sets the rank of the peptide. More... | |
int | getRank () const noexcept |
Returns the rank of the peptide. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MetaInfoInterface | |
static MetaInfoRegistry & | metaRegistry () |
Returns a reference to the MetaInfoRegistry. More... | |
Protected Member Functions inherited from MetaInfoInterface | |
void | createIfNotExists_ () |
Creates the MetaInfo object if it does not exist. More... | |
Protected Attributes inherited from MetaInfoInterface | |
MetaInfo * | meta_ |
Pointer to the MetaInfo object (0 by default) More... | |
Represents a object which can store the information of an analysisXML instance.
|
default |
Default constructor.
|
default |
Copy constructor.
|
virtualdefault |
Virtual destructor.
|
defaultnoexcept |
Move constructor.
|
noexcept |
Returns the calculated mass to charge ratio.
|
noexcept |
Returns the charge state of the peptide.
|
noexcept |
Returns the experimental mass to charge ratio.
|
noexcept |
Returns the identifier.
|
noexcept |
Returns the name.
|
noexcept |
Returns whether the peptide passed the threshold.
|
noexcept |
Returns the rank of the peptide.
|
noexcept |
Checks for inequality with another IdentificationHit object.
|
default |
Copy assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
noexcept |
Checks for equality with another IdentificationHit object.
|
noexcept |
Sets the calculated mass to charge ratio.
|
noexcept |
Sets the charge state of the peptide.
|
noexcept |
Sets the experimental mass to charge ratio.
|
noexcept |
Sets the identifier.
|
noexcept |
Sets the name.
|
noexcept |
Sets whether the peptide passed the threshold.
|
noexcept |
Sets the rank of the peptide.
|
private |
Calculated mass to charge ratio.
|
private |
Peptide charge.
|
private |
Experimental mass to charge ratio.
|
private |
Identifier.
|
private |
Name.
|
private |
Pass threshold.
|
private |
Rank of the peptide.