00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_UNMODIFIED_HPP
00018 #define MS_QUANT_UNMODIFIED_HPP
00019
00020
00021 #include <string>
00022 #include <vector>
00023
00024 namespace msparser_internal {
00025 class ms_quant_xmlloader;
00026 }
00027
00028 namespace matrix_science {
00029
00030 class ms_xml_schema;
00031
00037
00038 class MS_MASCOTRESFILE_API ms_quant_unmodified: public ms_xml_IValidatable
00039 {
00040 friend class msparser_internal::ms_quant_xmlloader;
00041 public:
00043 ms_quant_unmodified();
00044
00046 ms_quant_unmodified(const ms_quant_unmodified& src);
00047
00049 virtual ~ms_quant_unmodified();
00050
00052 void defaultValues();
00053
00055 void copyFrom(const ms_quant_unmodified* right);
00056
00057 #ifndef SWIG
00058
00059 ms_quant_unmodified& operator=(const ms_quant_unmodified& right);
00060 #endif
00061
00062 virtual std::string getSchemaType() const;
00063
00065 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00066
00068 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00069
00070
00072 std::string getContent() const;
00073
00075 void setContent(const char* value);
00076
00078 std::string getContentSchemaType() const;
00079
00080
00082 bool haveSite() const;
00083
00085 std::string getSite() const;
00086
00088 void setSite(const char* site);
00089
00091 void dropSite();
00092
00094 std::string getSiteSchemaType() const;
00095
00096
00098 bool havePosition() const;
00099
00101 std::string getPosition() const;
00102
00104 void setPosition(const char* position);
00105
00107 void dropPosition();
00108
00110 std::string getPositionSchemaType() const;
00111
00112
00113 private:
00114 std::string _content;
00115
00116 std::string _site;
00117 bool _site_set;
00118
00119 std::string _position;
00120 bool _position_set;
00121
00122 };
00123
00125
00126 }
00127
00128 #endif // MS_QUANT_UNMODIFIED_HPP
00129
00130