00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_AVERAGE_HPP
00018 #define MS_QUANT_AVERAGE_HPP
00019
00020
00021
00022 namespace msparser_internal {
00023 class ms_quant_xmlloader;
00024 }
00025
00026 namespace matrix_science {
00027
00028 class ms_xml_schema;
00029
00035
00036
00039 class MS_MASCOTRESFILE_API ms_quant_average: public ms_quant_parameters
00040 {
00041 friend class msparser_internal::ms_quant_xmlloader;
00042 public:
00044 ms_quant_average();
00045
00047 ms_quant_average(const ms_quant_average& src);
00048
00050 virtual ~ms_quant_average();
00051
00053 void defaultValues();
00054
00056 void copyFrom(const ms_quant_average* right);
00057
00058 #ifndef SWIG
00059
00060 ms_quant_average& operator=(const ms_quant_average& right);
00061 #endif
00062
00063 virtual std::string getSchemaType() const;
00064
00066 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00067
00069 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00070
00071
00073 bool haveNumPeptides() const;
00074
00076 int getNumPeptides() const;
00077
00079 void setNumPeptides(int value);
00080
00082 void dropNumPeptides();
00083
00085 std::string getNumPeptidesSchemaType() const;
00086
00087
00089 bool haveSelection() const;
00090
00092 std::string getSelection() const;
00093
00095 void setSelection(const char* value);
00096
00098 void dropSelection();
00099
00101 std::string getSelectionSchemaType() const;
00102
00103
00105 bool haveReferenceAccession() const;
00106
00108 std::string getReferenceAccession() const;
00109
00111 void setReferenceAccession(const char* value);
00112
00114 void dropReferenceAccession();
00115
00117 std::string getReferenceAccessionSchemaType() const;
00118
00119
00121 bool haveReferenceDatabase() const;
00122
00124 std::string getReferenceDatabase() const;
00125
00127 void setReferenceDatabase(const char* value);
00128
00130 void dropReferenceDatabase();
00131
00133 std::string getReferenceDatabaseSchemaType() const;
00134
00135
00137 bool haveReferenceAmount() const;
00138
00140 std::string getReferenceAmount() const;
00141
00143 void setReferenceAmount(const char* value);
00144
00146 void dropReferenceAmount();
00147
00149 std::string getReferenceAmountSchemaType() const;
00150 private:
00151
00152 int _numPeptides;
00153 bool _numPeptides_set;
00154
00155 std::string _selection;
00156 bool _selection_set;
00157
00158 std::string _referenceAccession;
00159 bool _referenceAccession_set;
00160
00161 std::string _referenceDatabase;
00162 bool _referenceDatabase_set;
00163
00164 std::string _referenceAmount;
00165 bool _referenceAmount_set;
00166 };
00167
00169
00170 }
00171
00172 #endif // MS_QUANT_AVERAGE_HPP
00173
00174