| OpenMS 2.5.0

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

Mock object implementing IMRMFeature. More...

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

Inheritance diagram for MockMRMFeature:

## Public Member Functions

| MockMRMFeature ()
| ~MockMRMFeature () override
boost::shared_ptr< OpenSwath::IFeature > | getFeature (std::string nativeID) override
boost::shared_ptr< OpenSwath::IFeature > | getPrecursorFeature (std::string nativeID) override
std::vector< std::string > | getNativeIDs () const override
std::vector< std::string > | getPrecursorIDs () const override
float | getIntensity () const override
double | getRT () const override
size_t | size () const override
Public Member Functions inherited from IMRMFeature
virtual | ~IMRMFeature ()

## Public Attributes

std::map< std::string, boost::shared_ptr< MockFeature > > | m_features
std::map< std::string, boost::shared_ptr< MockFeature > > | m_precursor_features
float | m_intensity
double | m_rt

## Detailed Description

Mock object implementing IMRMFeature.

## Constructor & Destructor Documentation

## ◆ MockMRMFeature()

MockMRMFeature | ( |  | ) |

## ◆ ~MockMRMFeature()

~MockMRMFeature | ( |  | ) |

override

## Member Function Documentation

## ◆ getFeature()

boost::shared_ptr<OpenSwath::IFeature> getFeature | ( | std::string | nativeID | ) |

override virtual

Implements IMRMFeature.

## ◆ getIntensity()

float getIntensity | ( |  | ) | const

override virtual

Implements IMRMFeature.

## ◆ getNativeIDs()

std::vector<std::string> getNativeIDs | ( |  | ) | const

override virtual

Implements IMRMFeature.

## ◆ getPrecursorFeature()

boost::shared_ptr<OpenSwath::IFeature> getPrecursorFeature | ( | std::string | nativeID | ) |

override virtual

Implements IMRMFeature.

## ◆ getPrecursorIDs()

std::vector<std::string> getPrecursorIDs | ( |  | ) | const

override virtual

Implements IMRMFeature.

## ◆ getRT()

double getRT | ( |  | ) | const

override virtual

Implements IMRMFeature.

## ◆ size()

size_t size | ( |  | ) | const

override virtual

Implements IMRMFeature.

## Member Data Documentation

## ◆ m_features

std::map<std::string, boost::shared_ptr<MockFeature> > m_features

## ◆ m_intensity

float m_intensity

## ◆ m_precursor_features

std::map<std::string, boost::shared_ptr<MockFeature> > m_precursor_features

## ◆ m_rt

double m_rt