Matrix Science header

ms_quant_unmodified.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_unmodified.hpp                                              #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates "unmodified" element from "quantitation.xml"-file             #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2006 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011  * @(#)$Source: parser/inc/ms_quant_unmodified.hpp $
00012  * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-07-30 16:23:53 +0100 $
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; // forward declaration
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     }; // class ms_quant_unmodified
00123  // end of config_group
00125 
00126 } // namespace matrix_science
00127 
00128 #endif // MS_QUANT_UNMODIFIED_HPP
00129 
00130 /*------------------------------- End of File -------------------------------*/

Copyright © 2022 Matrix Science Ltd.  All Rights Reserved. Generated on Thu Mar 31 2022 01:12:30