19#ifndef MS_INPUTQUERY_HPP
20#define MS_INPUTQUERY_HPP
25namespace msparser_internal
27 class ms_inputquerybase;
28 class ms_inputquery_dat;
29 class ms_inputquery_msr;
31namespace matrix_science
52 int getQueryNumber()
const;
54#ifndef DOXYGEN_SHOULD_SKIP_THIS
55 static std::vector<std::string> splitIT_MODS(std::string itmods);
60 std::string getStringTitle(
bool unescaped)
const;
62 std::wstring getStringTitle(
bool unescaped)
const
64 return getStringTitleWide(unescaped);
68 std::string getCharge()
const;
71 bool getAverageCharge(
int* averageCharge,
double * averageChargeDbl = 0)
const;
73 bool getAverageCharge(
int * OUTPUT,
double * OUTPUT=0)
const;
76 std::string getSeq(
int seq_no)
const;
79 std::string getComp(
int comp_no)
const;
82 std::string getTag(
int tag_no)
const;
85 double getMassMin()
const;
88 double getMassMax()
const;
91 double getIonMobility()
const;
94 int getNumVals()
const;
97 int getNumUsed()
const;
100 std::string getStringIons1(
bool includeCharges =
false)
const;
103 std::string getStringIons2(
bool includeCharges =
false)
const;
106 std::string getStringIons3(
bool includeCharges =
false)
const;
109 double getIntMax()
const;
112 double getIntMin()
const;
115 std::vector<std::pair<double,double> > getPeakList(
const int ions)
const;
118 double getPeakMass(
const int ions,
const int peakNo)
const;
121 double getPeakIntensity(
const int ions,
const int peakNo)
const;
124 int getPeakCharge(
const int ions,
const int peakNo)
const;
127 int getNumberOfPeaks(
const int ions)
const;
130 double getTotalIonsIntensity()
const;
133 double getPepTol()
const;
136 std::string getPepTolUnits()
const;
139 std::string getPepTolString()
const;
142 std::string getINSTRUMENT(
const bool unescaped =
true)
const;
145 std::string getRULES()
const;
148 double getMinInternalMass()
const;
151 double getMaxInternalMass()
const;
154 std::string getIT_MODS(
const bool unescaped =
true)
const;
157 int getNumberOfLocalVarMods()
const;
160 std::string getLocalVarModName(
const int num)
const;
163 std::string getScanNumbers(
const int rawFileIdx = -1)
const;
166 void getScanNumbers(std::vector<int> &index, std::vector<std::string> &scans)
const;
169 std::string getRawScans(
const int rawFileIdx = -1)
const;
172 void getRawScans(std::vector<int> &index, std::vector<std::string> &rawscans)
const;
175 std::string getRetentionTimes(
const int rawFileIdx = -1)
const;
178 void getRetentionTimes(std::vector<int> &index, std::vector<std::string> ×)
const;
181 std::string getRawfile()
const;
184 std::string getLocus()
const;
187 int getIndex()
const;
190 bool hasINTERNALS()
const;
194 ms_inputquery(std::shared_ptr<msparser_internal::ms_inputquerybase>);
198 std::wstring getStringTitleWide(
bool unescaped)
const;
200 std::shared_ptr<msparser_internal::ms_inputquerybase> impl_;
Abstract base class of ms_mascotresfile_dat and ms_mascotresfile_msr.
Definition: ms_mascotresfilebase.hpp:72