Matrix Science header

ms_crosslinking_accession.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_crosslinking_accession.hpp                                        #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates accession 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_accession.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_ACCESSION_HPP
00018 #define MS_CROSSLINKING_ACCESSION_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 
00042     class MS_MASCOTRESFILE_API ms_crosslinking_accession: public ms_xml_IValidatable
00043     {
00044         friend class msparser_internal::ms_crosslinking_xmlloader;
00045 
00046     public:
00048         ms_crosslinking_accession();
00049 
00051         ms_crosslinking_accession(const ms_crosslinking_accession& src);
00052 
00054         virtual ~ms_crosslinking_accession();
00055 
00057         void defaultValues();
00058 
00060         void copyFrom(const ms_crosslinking_accession* right);
00061 
00062 #ifndef SWIG
00063 
00064         ms_crosslinking_accession& operator=(const ms_crosslinking_accession& right);
00065 #endif
00066 
00068         virtual std::string getSchemaType() const;
00069 
00071         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00072 
00074         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00075 
00076 
00078         bool haveDatabaseName() const;
00079 
00081         std::string getDatabaseName() const;
00082 
00084         void setDatabaseName(const char* value);
00085 
00087         void dropDatabaseName();
00088 
00090         std::string getDatabaseNameSchemaType() const;
00091 
00092 
00094         bool haveValue() const;
00095 
00097         std::string getValue() const;
00098 
00100         void setValue(const char* value);
00101 
00103         void dropValue();
00104 
00106         std::string getValueSchemaType() const;
00107 
00108 
00109     private:
00110         std::string _databaseName;
00111         bool _databaseName_set;
00112 
00113         std::string _value;
00114 
00115     }; // class ms_crosslinking_accession
00116  // end of config_group
00118 
00119 } // namespace matrix_science
00120 
00121 #endif // MS_CROSSLINKING_ACCESSION_HPP
00122 
00123 /*------------------------------- End of File -------------------------------*/
00124 

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