libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
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) const
 

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 37 of file scorevalues.cpp.

38{
39 std::copy(other.m_scoreTable, other.m_scoreTable + 10, m_scoreTable);
40}

References ScoreValues(), and m_scoreTable.

◆ ~ScoreValues()

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

Definition at line 42 of file scorevalues.cpp.

43{
44}

Member Function Documentation

◆ get()

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

Definition at line 47 of file scorevalues.cpp.

48{
49 return m_scoreTable[(std::uint8_t)type];
50}

References m_scoreTable.

◆ operator=()

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

Definition at line 53 of file scorevalues.cpp.

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

References ScoreValues(), and 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(), ScoreValues(), get(), and operator=().


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