libpappsomspp
Library for mass spectrometry
pappso::MsRunReadConfig Class Reference

#include <msrunreadconfig.h>

Public Member Functions

 MsRunReadConfig ()
 
 MsRunReadConfig (const MsRunReadConfig &other)
 
 ~MsRunReadConfig ()
 
MsRunReadConfigoperator= (const MsRunReadConfig &other)
 
void setRetentionTimeStart (double retention_time_start)
 
double getRetentionTimeStart () const
 
void setRetentionTimeEnd (double retention_time_end)
 
double getRetentionTimeEnd () const
 
void setMsLevels (std::vector< std::size_t > ms_levels)
 
std::vector< std::size_t > getMsLevels (void)
 

Private Attributes

double m_retentionTimeStart = -1
 
double m_retentionTimeEnd = -1
 
std::vector< std::size_t > m_msLevels = {0}
 

Detailed Description

Definition at line 29 of file msrunreadconfig.h.

Constructor & Destructor Documentation

◆ MsRunReadConfig() [1/2]

pappso::MsRunReadConfig::MsRunReadConfig ( )

Definition at line 27 of file msrunreadconfig.cpp.

28{
29}

◆ MsRunReadConfig() [2/2]

pappso::MsRunReadConfig::MsRunReadConfig ( const MsRunReadConfig other)

Definition at line 31 of file msrunreadconfig.cpp.

31 :
32 m_retentionTimeStart(other.m_retentionTimeStart),
33 m_retentionTimeEnd(other.m_retentionTimeEnd),
34 m_msLevels(other.m_msLevels)
35{
36
37}
std::vector< std::size_t > m_msLevels

◆ ~MsRunReadConfig()

pappso::MsRunReadConfig::~MsRunReadConfig ( )

Definition at line 39 of file msrunreadconfig.cpp.

40{
41}

Member Function Documentation

◆ getMsLevels()

std::vector< std::size_t > pappso::MsRunReadConfig::getMsLevels ( void  )

Definition at line 87 of file msrunreadconfig.cpp.

88{
89 return m_msLevels;
90}

References m_msLevels.

◆ getRetentionTimeEnd()

double pappso::MsRunReadConfig::getRetentionTimeEnd ( ) const

Definition at line 75 of file msrunreadconfig.cpp.

76{
77 return m_retentionTimeEnd;
78}

References m_retentionTimeEnd.

Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2().

◆ getRetentionTimeStart()

double pappso::MsRunReadConfig::getRetentionTimeStart ( ) const

Definition at line 63 of file msrunreadconfig.cpp.

64{
66}

References m_retentionTimeStart.

Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2().

◆ operator=()

MsRunReadConfig & pappso::MsRunReadConfig::operator= ( const MsRunReadConfig other)

Definition at line 44 of file msrunreadconfig.cpp.

45{
46 if(&other == this)
47 return *this;
48
49 m_retentionTimeStart = other.m_retentionTimeStart;
50 m_retentionTimeEnd = other.m_retentionTimeEnd;
51 m_msLevels.assign(other.m_msLevels.begin(), other.m_msLevels.end());
52
53 return *this;
54}

References m_msLevels, m_retentionTimeEnd, and m_retentionTimeStart.

◆ setMsLevels()

void pappso::MsRunReadConfig::setMsLevels ( std::vector< std::size_t >  ms_levels)

Definition at line 81 of file msrunreadconfig.cpp.

82{
83 m_msLevels.assign(ms_levels.begin(), ms_levels.end());
84}

References m_msLevels.

◆ setRetentionTimeEnd()

void pappso::MsRunReadConfig::setRetentionTimeEnd ( double  retention_time_end)

Definition at line 69 of file msrunreadconfig.cpp.

70{
71 m_retentionTimeEnd = retention_time_end;
72}

References m_retentionTimeEnd.

◆ setRetentionTimeStart()

void pappso::MsRunReadConfig::setRetentionTimeStart ( double  retention_time_start)

Definition at line 57 of file msrunreadconfig.cpp.

58{
59 m_retentionTimeStart = retention_time_start;
60}

References m_retentionTimeStart.

Member Data Documentation

◆ m_msLevels

std::vector<std::size_t> pappso::MsRunReadConfig::m_msLevels = {0}
private

Definition at line 53 of file msrunreadconfig.h.

Referenced by getMsLevels(), operator=(), and setMsLevels().

◆ m_retentionTimeEnd

double pappso::MsRunReadConfig::m_retentionTimeEnd = -1
private

Definition at line 51 of file msrunreadconfig.h.

Referenced by getRetentionTimeEnd(), operator=(), and setRetentionTimeEnd().

◆ m_retentionTimeStart

double pappso::MsRunReadConfig::m_retentionTimeStart = -1
private

Definition at line 50 of file msrunreadconfig.h.

Referenced by getRetentionTimeStart(), operator=(), and setRetentionTimeStart().


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