Matrix Science header

ms_quant_reporter.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_reporter.hpp                                               #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates reporter-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_reporter.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_REPORTER_HPP
00018 #define MS_QUANT_REPORTER_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 
00039     class MS_MASCOTRESFILE_API ms_quant_reporter: public ms_quant_parameters
00040     {
00041         friend class msparser_internal::ms_quant_xmlloader;
00042     public:
00044         ms_quant_reporter();
00045 
00047         ms_quant_reporter(const ms_quant_reporter& src);
00048 
00050         virtual ~ms_quant_reporter();
00051 
00053         void defaultValues();
00054 
00056         void copyFrom(const ms_quant_reporter* right);
00057 
00058 #ifndef SWIG
00059 
00060         ms_quant_reporter& operator=(const ms_quant_reporter& 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 haveReporterTol() const;
00074 
00076         std::string getReporterTol() const;
00077 
00079         void setReporterTol(const char* value);
00080 
00082         void dropReporterTol();
00083 
00085         std::string getReporterTolSchemaType() const;
00086 
00087 
00089         bool haveReporterTolUnit() const;
00090 
00092         std::string getReporterTolUnit() const;
00093 
00095         void setReporterTolUnit(const char* value);
00096 
00098         void dropReporterTolUnit();
00099 
00101         std::string getReporterTolUnitSchemaType() const;
00102     private:
00103 
00104         std::string _reporterTol;
00105         bool _reporterTol_set;
00106 
00107         std::string _reporterTolUnit;
00108         bool _reporterTolUnit_set;
00109     }; // class ms_quant_reporter
00110  // end of config_group
00112 
00113 } // namespace matrix_science
00114 
00115 #endif // MS_QUANT_REPORTER_HPP
00116 
00117 /*------------------------------- End of File -------------------------------*/

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