Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
MsDataVariant.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_OBJECTS_MS_DATA_VARIANT_H__
13 #define __KOME_OBJECTS_MS_DATA_VARIANT_H__
14 
15 
16 #include "Variant.h"
17 
18 
19 namespace kome {
20  namespace objects {
21 
22  class Spectrum;
23  class Chromatogram;
24  class DataMapInfo;
25  class DataGroupNode;
26  class Sample;
27  class SampleSet;
28 
33  class DATA_OBJECTS_CLASS MsDataVariant {
34  public:
39  MsDataVariant();
40 
46  MsDataVariant( Variant& var );
47 
52  virtual ~MsDataVariant();
53 
54  protected:
57 
58  public:
64  void setVariant( Variant& var );
65 
71  Variant& getVariant();
72 
73  public:
78  void unsetObject();
79 
85  void setSpectrum( Spectrum* spec );
86 
92  void setChromatogram( Chromatogram* chrom );
93 
99  void setDataMap( DataMapInfo* dataMap );
100 
106  void setGroup( DataGroupNode* group );
107 
113  void setSample( Sample* sample );
114 
120  void setSampleSet( SampleSet* sampleSet );
121 
127  Spectrum* getSpectrum();
128 
134  Chromatogram* getChromatogram();
135 
141  DataMapInfo* getDataMap();
142 
148  DataGroupNode* getGroup();
149 
155  Sample* getSample();
156 
162  SampleSet* getSampleSet();
163  };
164  }
165 }
166 
167 
168 #endif // __KOME_OBJECTS_MS_DATA_VARIANT_H__
group of spectrum management class
Definition: DataGroupNode.h:33
sample set information management class
Definition: SampleSet.h:29
sample information management class
Definition: Sample.h:34
interfaces of Variant class
deta map information
Definition: DataMapInfo.h:31
class that treats data of various types
Definition: Variant.h:26
spectrum information management class
Definition: Spectrum.h:30
class that treats MS data of various types
Definition: MsDataVariant.h:33
chromatogram information management class
Definition: Chromatogram.h:33