| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
AppliedProcessingStep Struct Reference

A processing step that was applied to a data item, possibly with associated scores. More...

`#include <OpenMS/METADATA/ID/AppliedProcessingStep.h>`

## Public Member Functions

| AppliedProcessingStep (const boost::optional< ProcessingStepRef > &processing_step_opt=boost::none, const std::map< ScoreTypeRef, double > &scores=std::map< ScoreTypeRef, double >())
bool | operator== (const AppliedProcessingStep &other) const
std::vector< std::pair< ScoreTypeRef, double > > | getScoresInOrder () const
| Return scores in order of priority (primary first). More...

## Public Attributes

boost::optional< ProcessingStepRef > | processing_step_opt
std::map< ScoreTypeRef, double > | scores

## Detailed Description

A processing step that was applied to a data item, possibly with associated scores.

## Constructor & Destructor Documentation

## ◆ AppliedProcessingStep()

AppliedProcessingStep | ( | const boost::optional< ProcessingStepRef > & | processing_step_opt = `boost::none`,
|  | const std::map< ScoreTypeRef, double > & | scores = `std::map<ScoreTypeRef, double>()`
| ) |  |

inline explicit

## Member Function Documentation

## ◆ getScoresInOrder()

std::vector<std::pair<ScoreTypeRef, double> > getScoresInOrder | ( |  | ) | const

inline

Return scores in order of priority (primary first).

The order is defined in the `DataProcessingSoftware` referenced by the processing step (if available). Scores not listed there are included at the end of the output.

References AppliedProcessingStep::processing_step_opt, and AppliedProcessingStep::scores.

## ◆ operator==()

bool operator== | ( | const AppliedProcessingStep & | other | ) | const

inline

References AppliedProcessingStep::processing_step_opt, and AppliedProcessingStep::scores.

## Member Data Documentation

## ◆ processing_step_opt

boost::optional<ProcessingStepRef> processing_step_opt

Referenced by ScoredProcessingResult::addProcessingStep(), AppliedProcessingStep::getScoresInOrder(), and AppliedProcessingStep::operator==().

## ◆ scores

std::map<ScoreTypeRef, double> scores

Referenced by ScoredProcessingResult::addProcessingStep(), ScoredProcessingResult::addScore(), AppliedProcessingStep::getScoresInOrder(), and AppliedProcessingStep::operator==().