OpenMS
CompNovoIdentificationBase::Permut Class Reference

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

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

Collaboration diagram for CompNovoIdentificationBase::Permut:
[legend]

Public Member Functions

 Permut (const std::set< String >::const_iterator &permut, double s)
 
 Permut (const Permut &rhs)=default
 
virtual ~Permut ()=default
 
Permutoperator= (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 ( )
inlineprivate

◆ 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 ( )
virtualdefault

Member Function Documentation

◆ getPermut()

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

◆ getScore()

double getScore ( ) const
inline

◆ operator=()

◆ 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

◆ score_

double score_
protected