OpenMS
MockFeature Class Reference

Mock object implementing IFeature. More...

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

Inheritance diagram for MockFeature:
[legend]
Collaboration diagram for MockFeature:
[legend]

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 ( )
override

Member Function Documentation

◆ getIntensity() [1/2]

float getIntensity ( ) const
overridevirtual

Implements IFeature.

◆ getIntensity() [2/2]

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

Implements IFeature.

◆ getRT() [1/2]

double getRT ( ) const
overridevirtual

Implements IFeature.

◆ getRT() [2/2]

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

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