Matrix Science header

ms_quant_pepneutralloss.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_pepneutralloss.hpp                                          #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates "PepNeutralLoss" 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_pepneutralloss.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_PEPNEUTRALLOSS_HPP
00018 #define MS_QUANT_PEPNEUTRALLOSS_HPP
00019 
00020 
00021 // forward declarations
00022 namespace msparser_internal {
00023     class ms_quant_xmlloader;
00024 }
00025 
00026 namespace matrix_science {
00027 
00028     class ms_xml_schema; // forward declaration
00029 
00035 
00036     class MS_MASCOTRESFILE_API ms_quant_pepneutralloss: public ms_quant_composition
00037     {
00038         friend class msparser_internal::ms_quant_xmlloader;
00039     public:
00041         ms_quant_pepneutralloss();
00042 
00044         ms_quant_pepneutralloss(const ms_quant_pepneutralloss& src);
00045 
00047         virtual ~ms_quant_pepneutralloss();
00048 
00050         void defaultValues();
00051 
00053         void copyFrom(const ms_quant_pepneutralloss* right);
00054 
00055 #ifndef SWIG
00056 
00057         ms_quant_pepneutralloss& operator=(const ms_quant_pepneutralloss& right);
00058 #endif        
00059 
00060         virtual std::string getSchemaType() const;
00061 
00063         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00064 
00066         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00067 
00068 
00070         bool haveRequired() const;
00071 
00073         bool isRequired() const;
00074 
00076         void setRequired(const bool required);
00077 
00079         void dropRequired();
00080 
00082         std::string getRequiredSchemaType() const;
00083 
00084     private:
00085 
00086         bool _required;
00087         bool _required_set;
00088 
00089     }; // class ms_quant_pepneutralloss
00090  // end of config_group
00092 
00093 } // namespace matrix_science
00094 
00095 #endif // MS_QUANT_NEUTRALLOSS_HPP
00096 
00097 /*------------------------------- End of File -------------------------------*/

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