Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Protected Attributes

IdentificationHit Class Reference
[Metadata]

Represents a object which can store the information of an analysisXML instance. More...

#include <OpenMS/METADATA/IdentificationHit.h>

Inheritance diagram for IdentificationHit:
MetaInfoInterface

List of all members.

Public Member Functions

constructors,destructors,assignment operator

 IdentificationHit ()
 default constructor
virtual ~IdentificationHit ()
 destructor
 IdentificationHit (const IdentificationHit &source)
 copy constructor
IdentificationHitoperator= (const IdentificationHit &source)
 assignment operator
bool operator== (const IdentificationHit &rhs) const
 Equality operator.
bool operator!= (const IdentificationHit &rhs) const
 Inequality operator.
Accessors

void setId (const String &id)
 sets the identifier
const StringgetId () const
 returns the id
void setCharge (Int charge)
 sets the charge state of the peptide
Int getCharge () const
 returns the charge state
void setCalculatedMassToCharge (DoubleReal mz)
 sets the calculated mass to charge ratio
DoubleReal getCalculatedMassToCharge () const
 returns the calculated mass to charge ratio
void setExperimentalMassToCharge (DoubleReal mz)
 sets the experimental mass to charge ratio
DoubleReal getExperimentalMassToCharge () const
 returns the experimental mass to charge
void setName (const String &name)
 sets the name
const StringgetName () const
 returns the name
void setPassThreshold (bool pass)
 sets whether the peptide passed the threshold
bool getPassThreshold () const
 returns whether the peptide passed the threshold
void setRank (Int rank)
 set the rank of the peptide
Int getRank () const
 returns the rank of the peptide

Protected Attributes

String id_
 identifier
Int charge_
 peptide charge
DoubleReal calculated_mass_to_charge_
 calculated mass to charge ratio
DoubleReal experimental_mass_to_charge_
 experimental mass to charge ratio
String name_
 name
bool pass_threshold_
 pass threshold
Int rank_
 rank of the peptide

Detailed Description

Represents a object which can store the information of an analysisXML instance.

Todo:
docu (Andreas)

Constructor & Destructor Documentation

default constructor

virtual ~IdentificationHit (  )  [virtual]

destructor

IdentificationHit ( const IdentificationHit source  ) 

copy constructor


Member Function Documentation

DoubleReal getCalculatedMassToCharge (  )  const

returns the calculated mass to charge ratio

Int getCharge (  )  const

returns the charge state

DoubleReal getExperimentalMassToCharge (  )  const

returns the experimental mass to charge

const String& getId (  )  const

returns the id

const String& getName (  )  const

returns the name

bool getPassThreshold (  )  const

returns whether the peptide passed the threshold

Int getRank (  )  const

returns the rank of the peptide

bool operator!= ( const IdentificationHit rhs  )  const

Inequality operator.

IdentificationHit& operator= ( const IdentificationHit source  ) 

assignment operator

bool operator== ( const IdentificationHit rhs  )  const

Equality operator.

void setCalculatedMassToCharge ( DoubleReal  mz  ) 

sets the calculated mass to charge ratio

void setCharge ( Int  charge  ) 

sets the charge state of the peptide

void setExperimentalMassToCharge ( DoubleReal  mz  ) 

sets the experimental mass to charge ratio

void setId ( const String id  ) 

sets the identifier

void setName ( const String name  ) 

sets the name

void setPassThreshold ( bool  pass  ) 

sets whether the peptide passed the threshold

void setRank ( Int  rank  ) 

set the rank of the peptide


Member Data Documentation

calculated mass to charge ratio

Int charge_ [protected]

peptide charge

experimental mass to charge ratio

String id_ [protected]

identifier

String name_ [protected]

name

bool pass_threshold_ [protected]

pass threshold

Int rank_ [protected]

rank of the peptide


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:56 using doxygen 1.7.1