| OpenMS 2.5.0

Public Member Functions | Protected Attributes | Private Member Functions | List of all members
CompNovoIdentificationBase::Permut Class Reference

Simple class to store permutations and a score. More...

`#include <OpenMS/ANALYSIS/DENOVO/CompNovoIdentificationBase.h>`

## Public Member Functions

| Permut (const std::set< String >::const_iterator &permut, double s)
| Permut (const Permut &rhs)=default
virtual | ~Permut ()=default
Permut & | operator= (const Permut &rhs)
const std::set< String >::const_iterator & | getPermut () const
void | setPermut (const std::set< String >::const_iterator &it)
double | getScore () const
void | setScore (double score)

## Protected Attributes

std::set< String >::const_iterator | permut_
double | score_

## Private Member Functions

| Permut ()

## Detailed Description

Simple class to store permutations and a score.

This class is used to store the generated permutations and a score to them

## Constructor & Destructor Documentation

## ◆ Permut() [1/3]

Permut | ( |  | ) |

inline private

## ◆ Permut() [2/3]

Permut | ( | const std::set< String >::const_iterator & | permut,
|  | double | s
| ) |  |

inline

## ◆ Permut() [3/3]

Permut | ( | const Permut & | rhs | ) |

default

## ◆ ~Permut()

virtual ~Permut | ( |  | ) |

virtual default

## Member Function Documentation

## ◆ getPermut()

const std::set<String>::const_iterator& getPermut | ( |  | ) | const

inline

## ◆ getScore()

double getScore | ( |  | ) | const

inline

## ◆ operator=()

Permut& operator= | ( | const Permut & | rhs | ) |

inline

References CompNovoIdentificationBase::Permut::permut_, and CompNovoIdentificationBase::Permut::score_.

## ◆ setPermut()

void setPermut | ( | const std::set< String >::const_iterator & | it | ) |

inline

## ◆ setScore()

void setScore | ( | double | score | ) |

inline

## Member Data Documentation

## ◆ permut_

std::set<String>::const_iterator permut_

protected

Referenced by CompNovoIdentificationBase::Permut::operator=().

## ◆ score_

double score_

protected

Referenced by CompNovoIdentificationBase::Permut::operator=().