Mass++ mzML IO Plugin v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations
MzmlChromatogram.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_IO_MZML_CHROMATOGRAM_H__
13 #define __KOME_IO_MZML_CHROMATOGRAM_H__
14 
15 
16 #include <vector>
17 
18 
19 namespace kome {
20  namespace io {
21  namespace mzml {
22 
23  class MzmlSample;
24 
29  class MzmlChromatogram : public kome::objects::Chromatogram {
30  public:
37 
42  virtual ~MzmlChromatogram();
43 
44  protected:
47 
48  protected:
50  long long m_offset;
51 
52  public:
58  void setOffset( const long long offset );
59 
65  long long getOffset();
66 
67  protected:
73  void parse( xercesc::SAX2XMLReader* parser );
74 
75  protected:
81  virtual void onGetXYData( kome::core::XYData* const xyData );
82 
98  virtual void onGetSpectra(
99  kome::objects::DataSet& dataSet,
100  const double startRt,
101  const double endRt,
102  const kome::objects::SearchType startSearch,
103  const kome::objects::SearchType endSearch
104  );
105 
112  virtual double onGetMass( const unsigned int index );
113 
120  virtual int onGetMsStage( const unsigned int index );
121 
128  virtual double onGetPrecursor( const unsigned int index );
129  };
130  }
131  }
132 }
133 
134 
135 #endif // __KOME_IO_MZML_CHROMATOGRAM_H__
virtual void onGetXYData(kome::core::XYData *const xyData)
This method is called by getXYData method (override method)
void setOffset(const long long offset)
sets data offset
virtual double onGetMass(const unsigned int index)
This method is called by getMass method (override method)
virtual int onGetMsStage(const unsigned int index)
This method is called by getMsStage method (override method)
mzml sample spectrum class
virtual ~MzmlChromatogram()
destructor
long long getOffset()
gets data offset
void parse(xercesc::SAX2XMLReader *parser)
parse XML data
virtual double onGetPrecursor(const unsigned int index)
This method is called by getPrecursor method (override method)
MzmlChromatogram(MzmlSample *file)
constructor
virtual void onGetSpectra(kome::objects::DataSet &dataSet, const double startRt, const double endRt, const kome::objects::SearchType startSearch, const kome::objects::SearchType endSearch)
This method is called by searchSpectrum or getSpectra method (overriede method)
mzML sample class
Definition: MzmlSample.h:26