| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
IdentificationData::ModifyMultiIndexAddScore< ElementType > Struct Template Reference

Helper functor for adding scores to elements in a boost::multi_index_container structure. More...

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

## Public Member Functions

| ModifyMultiIndexAddScore (ScoreTypeRef score_type_ref, double value)
void | operator() (ElementType &element)

## Public Attributes

ScoreTypeRef | score_type_ref
double | value

## Detailed Description

### template<typename ElementType>
struct OpenMS::IdentificationData::ModifyMultiIndexAddScore< ElementType >

Helper functor for adding scores to elements in a boost::multi_index_container structure.

The validity of the score type reference cannot be checked here!

## Constructor & Destructor Documentation

## ◆ ModifyMultiIndexAddScore()

ModifyMultiIndexAddScore | ( | ScoreTypeRef | score_type_ref,
|  | double | value
| ) |  |

inline

## Member Function Documentation

## ◆ operator()()

void operator() | ( | ElementType & | element | ) |

inline

## Member Data Documentation

## ◆ score_type_ref

ScoreTypeRef score_type_ref

## ◆ value

double value