libpappsomspp
Library for mass spectrometry
pappso::specpeptidoms::ScoreValues Class Reference

#include <scorevalues.h>

Public Member Functions

 ScoreValues ()
 
 ScoreValues (const ScoreValues &other)
 
virtual ~ScoreValues ()
 
const ScoreValuesoperator= (const ScoreValues &other)
 
int get (ScoreType type)
 

Private Attributes

int m_scoreTable [10]
 

Detailed Description

Definition at line 27 of file scorevalues.h.

Constructor & Destructor Documentation

◆ ScoreValues() [1/2]

◆ ScoreValues() [2/2]

pappso::specpeptidoms::ScoreValues::ScoreValues ( const ScoreValues other)

Definition at line 35 of file scorevalues.cpp.

36{
37 std::copy(other.m_scoreTable, other.m_scoreTable + 10, m_scoreTable);
38}

References m_scoreTable.

◆ ~ScoreValues()

pappso::specpeptidoms::ScoreValues::~ScoreValues ( )
virtual

Definition at line 40 of file scorevalues.cpp.

41{
42}

Member Function Documentation

◆ get()

int pappso::specpeptidoms::ScoreValues::get ( ScoreType  type)

Definition at line 45 of file scorevalues.cpp.

46{
47 return m_scoreTable[(std::uint8_t)type];
48}

References m_scoreTable.

◆ operator=()

const ScoreValues & pappso::specpeptidoms::ScoreValues::operator= ( const ScoreValues other)

Definition at line 51 of file scorevalues.cpp.

52{
53 std::copy(other.m_scoreTable, other.m_scoreTable + 10, m_scoreTable);
54 return *this;
55}

References m_scoreTable.

Member Data Documentation

◆ m_scoreTable

int pappso::specpeptidoms::ScoreValues::m_scoreTable[10]
private

Definition at line 40 of file scorevalues.h.

Referenced by ScoreValues(), get(), and operator=().


The documentation for this class was generated from the following files: