Matrix Science header

ms_crosslinking_monolink.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_crosslinking_monolink.hpp                                         #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates monolink element in crosslinking.xml                          #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2019 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011  * @(#)$Source: parser/inc/ms_crosslinking_monolink.hpp $
00012  * @(#)$Revision: 9de60354aaae13272cadfa764dbabd92c93c724c | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-12-20 12:05:22 +0000 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_CROSSLINKING_MONOLINK_HPP
00018 #define MS_CROSSLINKING_MONOLINK_HPP
00019 
00020 
00021 #include <string>
00022 
00023 // forward declarations
00024 namespace msparser_internal {
00025     class ms_crosslinking_xmlloader;
00026 }
00027 
00028 namespace matrix_science {
00029     class ms_xml_schema; // forward declaration
00030 
00036 
00037     class MS_MASCOTRESFILE_API ms_crosslinking_monolink: public ms_xml_IValidatable
00038     {
00039         friend class msparser_internal::ms_crosslinking_xmlloader;
00040 
00041     public:
00043         ms_crosslinking_monolink();
00044 
00046         ms_crosslinking_monolink(const ms_crosslinking_monolink& src);
00047 
00049         virtual ~ms_crosslinking_monolink();
00050 
00052         void defaultValues();
00053 
00055         void copyFrom(const ms_crosslinking_monolink* right);
00056 
00057 #ifndef SWIG
00058 
00059         ms_crosslinking_monolink& operator=(const ms_crosslinking_monolink& right);
00060 #endif
00061 
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         std::string getValue() const;
00074 
00076         void setValue(const char* value);
00077 
00079         std::string getValueSchemaType() const;
00080 
00081 
00082     private:
00083         std::string _value;
00084 
00085     }; // class ms_crosslinking_monolink
00086  // end of config_group
00088 
00089 } // namespace matrix_science
00090 
00091 #endif // MS_CROSSLINKING_MONOLINK_HPP
00092 
00093 /*------------------------------- End of File -------------------------------*/
00094 

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