| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
ConsensusFeature::Ratio Struct Reference

slim struct to feed the need for systematically storing of ratios ( More...

`#include <OpenMS/KERNEL/ConsensusFeature.h>`

## Public Member Functions

| Ratio ()
| Ratio (const Ratio &rhs)
virtual | ~Ratio ()
Ratio & | operator= (const Ratio &rhs)

## Public Attributes

double | ratio_value_
String | denominator_ref_
String | numerator_ref_
std::vector< String > | description_

## Detailed Description

slim struct to feed the need for systematically storing of ratios (

See also
  MSQuantifications ).

## Constructor & Destructor Documentation

## ◆ Ratio() [1/2]

Ratio | ( |  | ) |

inline

## ◆ Ratio() [2/2]

Ratio | ( | const Ratio & | rhs | ) |

inline

References ConsensusFeature::Ratio::denominator_ref_, ConsensusFeature::Ratio::description_, ConsensusFeature::Ratio::numerator_ref_, and ConsensusFeature::Ratio::ratio_value_.

## ◆ ~Ratio()

virtual ~Ratio | ( |  | ) |

inline virtual

## Member Function Documentation

## ◆ operator=()

Ratio& operator= | ( | const Ratio & | rhs | ) |

inline

References ConsensusFeature::Ratio::denominator_ref_, ConsensusFeature::Ratio::description_, ConsensusFeature::Ratio::numerator_ref_, and ConsensusFeature::Ratio::ratio_value_.

## Member Data Documentation

## ◆ denominator_ref_

String denominator_ref_

Referenced by ConsensusFeature::Ratio::operator=(), and ConsensusFeature::Ratio::Ratio().

## ◆ description_

std::vector<String> description_

Referenced by ConsensusFeature::Ratio::operator=(), and ConsensusFeature::Ratio::Ratio().

## ◆ numerator_ref_

String numerator_ref_

Referenced by ConsensusFeature::Ratio::operator=(), and ConsensusFeature::Ratio::Ratio().

## ◆ ratio_value_

double ratio_value_

Referenced by ConsensusFeature::Ratio::operator=(), and ConsensusFeature::Ratio::Ratio().