| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <msrunreadconfig.h>
Public Member Functions | |
| MsRunReadConfig () | |
| MsRunReadConfig (const MsRunReadConfig &other) | |
| ~MsRunReadConfig () | |
| MsRunReadConfig & | operator= (const MsRunReadConfig &other) | 
| void | setRetentionTimeStartInSeconds (double retention_time_start_in_seconds) | 
| double | getRetentionTimeStartInSeconds () const | 
| void | setRetentionTimeEndInSeconds (double retention_time_end_in_seconds) | 
| double | getRetentionTimeEndInSeconds () const | 
| void | setMsLevels (std::vector< std::size_t > ms_levels) | 
| const bool * | getMsLevels () const | 
| QString | getMsLevelsAsString () const | 
| void | setNeedPeakList (bool need_peak_list) | 
| bool | needPeakList () const | 
| void | setParameterValue (MsRunReadConfigParameter parameter, const QVariant &value) | 
| const QVariant | getParameterValue (MsRunReadConfigParameter parameter) const | 
| void | reset () | 
| QString | toString () const | 
| bool | acceptMsLevel (std::size_t ms_level) const | 
| bool | acceptRetentionTimeInSeconds (double retention_time_in_seconds) const | 
Private Attributes | |
| double | m_retentionTimeStartSeconds = -1 | 
| double | m_retentionTimeEndSeconds = -1 | 
| bool | m_isPeakListNeeded = true | 
| bool | m_msLevels [MAX_MS_LEVELS] = {false} | 
| std::map< MsRunReadConfigParameter, QVariant > | m_paramsMap | 
| map containing any parameter value   | |
Definition at line 61 of file msrunreadconfig.h.
| pappso::MsRunReadConfig::MsRunReadConfig | ( | ) | 
Definition at line 28 of file msrunreadconfig.cpp.
References m_msLevels.
Referenced by MsRunReadConfig(), and operator=().
| pappso::MsRunReadConfig::MsRunReadConfig | ( | const MsRunReadConfig & | other | ) | 
Definition at line 35 of file msrunreadconfig.cpp.
References MsRunReadConfig(), m_msLevels, m_paramsMap, m_retentionTimeEndSeconds, m_retentionTimeStartSeconds, and pappso::MAX_MS_LEVELS.
| pappso::MsRunReadConfig::~MsRunReadConfig | ( | ) | 
Definition at line 44 of file msrunreadconfig.cpp.
| bool pappso::MsRunReadConfig::acceptMsLevel | ( | std::size_t | ms_level | ) | const | 
Definition at line 135 of file msrunreadconfig.cpp.
References m_msLevels, and pappso::MAX_MS_LEVELS.
Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2(), pappso::TimsMsRunReader::readSpectrumCollection2(), and pappso::PwizMsRunReader::readSpectrumCollectionWithMsrunReadConfig().
| bool pappso::MsRunReadConfig::acceptRetentionTimeInSeconds | ( | double | retention_time_in_seconds | ) | const | 
Definition at line 144 of file msrunreadconfig.cpp.
References m_retentionTimeEndSeconds, and m_retentionTimeStartSeconds.
Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2(), pappso::TimsMsRunReader::readSpectrumCollection2(), and pappso::PwizMsRunReader::readSpectrumCollectionWithMsrunReadConfig().
| const bool * pappso::MsRunReadConfig::getMsLevels | ( | void | ) | const | 
Definition at line 114 of file msrunreadconfig.cpp.
References m_msLevels.
| QString pappso::MsRunReadConfig::getMsLevelsAsString | ( | ) | const | 
Definition at line 120 of file msrunreadconfig.cpp.
References m_msLevels, and pappso::MAX_MS_LEVELS.
| const QVariant pappso::MsRunReadConfig::getParameterValue | ( | pappso::MsRunReadConfigParameter | parameter | ) | const | 
Definition at line 196 of file msrunreadconfig.cpp.
References m_paramsMap.
Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2(), pappso::TimsMsRunReader::readSpectrumCollection2(), and toString().
| double pappso::MsRunReadConfig::getRetentionTimeEndInSeconds | ( | ) | const | 
Definition at line 85 of file msrunreadconfig.cpp.
References m_retentionTimeEndSeconds.
| double pappso::MsRunReadConfig::getRetentionTimeStartInSeconds | ( | ) | const | 
Definition at line 72 of file msrunreadconfig.cpp.
References m_retentionTimeStartSeconds.
| bool pappso::MsRunReadConfig::needPeakList | ( | ) | const | 
Definition at line 170 of file msrunreadconfig.cpp.
References m_isPeakListNeeded.
Referenced by pappso::TimsFramesMsRunReader::readSpectrumCollection2(), pappso::TimsMsRunReader::readSpectrumCollection2(), and pappso::PwizMsRunReader::readSpectrumCollectionWithMsrunReadConfig().
| MsRunReadConfig & pappso::MsRunReadConfig::operator= | ( | const MsRunReadConfig & | other | ) | 
Definition at line 49 of file msrunreadconfig.cpp.
References MsRunReadConfig(), m_msLevels, m_paramsMap, m_retentionTimeEndSeconds, m_retentionTimeStartSeconds, and pappso::MAX_MS_LEVELS.
| void pappso::MsRunReadConfig::reset | ( | ) | 
Definition at line 212 of file msrunreadconfig.cpp.
References m_isPeakListNeeded, m_msLevels, m_paramsMap, m_retentionTimeEndSeconds, m_retentionTimeStartSeconds, and pappso::MAX_MS_LEVELS.
| void pappso::MsRunReadConfig::setMsLevels | ( | std::vector< std::size_t > | ms_levels | ) | 
Definition at line 91 of file msrunreadconfig.cpp.
References m_msLevels, and pappso::MAX_MS_LEVELS.
Referenced by pappso::masschroq::MsRun::MsRun(), and pappso::MsRunReader::getRetentionTimeLine().
| void pappso::MsRunReadConfig::setNeedPeakList | ( | bool | need_peak_list | ) | 
Definition at line 176 of file msrunreadconfig.cpp.
References m_isPeakListNeeded.
Referenced by pappso::masschroq::MsRun::MsRun(), and pappso::MsRunReader::getRetentionTimeLine().
| void pappso::MsRunReadConfig::setParameterValue | ( | pappso::MsRunReadConfigParameter | parameter, | 
| const QVariant & | value ) | 
Definition at line 182 of file msrunreadconfig.cpp.
References m_paramsMap.
| void pappso::MsRunReadConfig::setRetentionTimeEndInSeconds | ( | double | retention_time_end_in_seconds | ) | 
Definition at line 78 of file msrunreadconfig.cpp.
References m_retentionTimeEndSeconds.
| void pappso::MsRunReadConfig::setRetentionTimeStartInSeconds | ( | double | retention_time_start_in_seconds | ) | 
Definition at line 65 of file msrunreadconfig.cpp.
References m_retentionTimeStartSeconds.
| QString pappso::MsRunReadConfig::toString | ( | ) | const | 
Definition at line 230 of file msrunreadconfig.cpp.
References getParameterValue(), m_msLevels, m_retentionTimeEndSeconds, m_retentionTimeStartSeconds, pappso::MAX_MS_LEVELS, pappso::MzRangeBegin, pappso::MzRangeEnd, pappso::TimsFrameIonMobOneOverK0Begin, pappso::TimsFrameIonMobOneOverK0End, pappso::TimsFrameIonMobScanIndexBegin, pappso::TimsFrameIonMobScanIndexEnd, and pappso::TimsFrameMzIndexMergeWindow.
Referenced by pappso::TimsMsRunReader::readSpectrumCollection2().
      
  | 
  private | 
Definition at line 100 of file msrunreadconfig.h.
Referenced by needPeakList(), reset(), and setNeedPeakList().
      
  | 
  private | 
Definition at line 105 of file msrunreadconfig.h.
Referenced by MsRunReadConfig(), MsRunReadConfig(), acceptMsLevel(), getMsLevels(), getMsLevelsAsString(), operator=(), reset(), setMsLevels(), and toString().
      
  | 
  private | 
map containing any parameter value
Definition at line 110 of file msrunreadconfig.h.
Referenced by MsRunReadConfig(), getParameterValue(), operator=(), reset(), and setParameterValue().
      
  | 
  private | 
Definition at line 98 of file msrunreadconfig.h.
Referenced by MsRunReadConfig(), acceptRetentionTimeInSeconds(), getRetentionTimeEndInSeconds(), operator=(), reset(), setRetentionTimeEndInSeconds(), and toString().
      
  | 
  private | 
Definition at line 97 of file msrunreadconfig.h.
Referenced by MsRunReadConfig(), acceptRetentionTimeInSeconds(), getRetentionTimeStartInSeconds(), operator=(), reset(), setRetentionTimeStartInSeconds(), and toString().