OpenMS  2.7.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:
[legend]
Collaboration diagram for MockMRMFeature:
[legend]

Public Member Functions

 MockMRMFeature ()
 
 ~MockMRMFeature () override
 
boost::shared_ptr< OpenSwath::IFeaturegetFeature (std::string nativeID) override
 
boost::shared_ptr< OpenSwath::IFeaturegetPrecursorFeature (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 ( )
override

Member Function Documentation

◆ getFeature()

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

Implements IMRMFeature.

◆ getIntensity()

float getIntensity ( ) const
overridevirtual

Implements IMRMFeature.

◆ getNativeIDs()

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

Implements IMRMFeature.

◆ getPrecursorFeature()

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

Implements IMRMFeature.

◆ getPrecursorIDs()

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

Implements IMRMFeature.

◆ getRT()

double getRT ( ) const
overridevirtual

Implements IMRMFeature.

◆ size()

size_t size ( ) const
overridevirtual

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