Mass++ mzML IO Plugin v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations
MzmlSampleSet.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_IO_MZML_SAMPLE_SET_H__
13 #define __KOME_IO_MZML_SAMPLE_SET_H__
14 
15 
16 namespace kome {
17  namespace io {
18  namespace mzml {
19 
24  class MzmlSampleSet : public kome::objects::SampleSet {
25  public:
30  MzmlSampleSet();
31 
36  virtual ~MzmlSampleSet();
37 
38  protected:
40  FILE* m_fp;
41 
42  public:
48  FILE* getFile();
49 
50  protected:
58  virtual bool onOpenFile( const char* path, kome::core::Progress* progress = NULL );
59 
60 
67  virtual bool onCloseFile();
68 
69  public:
76  virtual bool onOpenSample( kome::objects::Sample* sample, kome::core::Progress* progress = NULL );
77 
84  virtual bool onCloseSample( kome::objects::Sample* sample );
85  };
86  }
87  }
88 }
89 
90 
91 #endif // __KOME_IO_MZML_SAMPLE_SET_H__
virtual bool onCloseSample(kome::objects::Sample *sample)
This method is called by closeTreatment method. (override method)
virtual bool onOpenFile(const char *path, kome::core::Progress *progress=NULL)
This method is called by openFile method. (override method)
mzML sample set class
Definition: MzmlSampleSet.h:24
virtual bool onCloseFile()
This method is called by closeFile method. (override method)
virtual bool onOpenSample(kome::objects::Sample *sample, kome::core::Progress *progress=NULL)
This method is called by openTreatment method. (override method)
virtual ~MzmlSampleSet()
destructor
FILE * getFile()
gets file descriptor