| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
MockFeature Class Reference

Mock object implementing IFeature. More...

`#include <OpenMS/OPENSWATHALGO/DATAACCESS/MockObjects.h>`

Inheritance diagram for MockFeature:

## Public Member Functions

| MockFeature ()
| ~MockFeature () override
void | getRT (std::vector< double > &rt) const override
void | getIntensity (std::vector< double > &intens) const override
float | getIntensity () const override
double | getRT () const override
Public Member Functions inherited from IFeature
virtual | ~IFeature ()

## Public Attributes

std::vector< double > | m_rt_vec
std::vector< double > | m_intensity_vec
float | m_intensity
double | m_rt

## Detailed Description

Mock object implementing IFeature.

## Constructor & Destructor Documentation

## ◆ MockFeature()

MockFeature | ( |  | ) |

## ◆ ~MockFeature()

~MockFeature | ( |  | ) |

override

## Member Function Documentation

## ◆ getIntensity() [1/2]

void getIntensity | ( | std::vector< double > & | intens | ) | const

override virtual

Implements IFeature.

## ◆ getIntensity() [2/2]

float getIntensity | ( |  | ) | const

override virtual

Implements IFeature.

## ◆ getRT() [1/2]

void getRT | ( | std::vector< double > & | rt | ) | const

override virtual

Implements IFeature.

## ◆ getRT() [2/2]

double getRT | ( |  | ) | const

override virtual

Implements IFeature.

## Member Data Documentation

## ◆ m_intensity

float m_intensity

## ◆ m_intensity_vec

std::vector<double> m_intensity_vec

## ◆ m_rt

double m_rt

## ◆ m_rt_vec

std::vector<double> m_rt_vec