Matrix Science header

ms_unigeneoptions.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_unigeneoptions.hpp                                                #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates "UniGene" section of "mascot.dat" file                        #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2007 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011 #    $Archive:: /Mowse/ms_mascotresfile/include/ms_unigeneoptions.hpp      $ #
00012 #     $Author: villek $ #
00013 #       $Date: 2010/09/06 16:18:57 $ #
00014 #   $Revision: 1.6 $ #
00015 # $NoKeywords::                                                            $ #
00016 ##############################################################################
00017 */
00018 
00019 #ifndef MS_UNIGENEOPTIONS_HPP
00020 #define MS_UNIGENEOPTIONS_HPP
00021 
00022 #ifdef _WIN32
00023 #pragma warning(disable:4251)   // Don't want all classes to be exported
00024 #pragma warning(disable:4786)   // Debug symbols too long
00025 #   ifndef _MATRIX_USE_STATIC_LIB
00026 #       ifdef MS_MASCOTRESFILE_EXPORTS
00027 #           define MS_MASCOTRESFILE_API __declspec(dllexport)
00028 #       else
00029 #           define MS_MASCOTRESFILE_API __declspec(dllimport)
00030 #       endif
00031 #   else
00032 #       define MS_MASCOTRESFILE_API
00033 #   endif
00034 #else
00035 #   define MS_MASCOTRESFILE_API
00036 #endif
00037 
00038 // for the sake of #include <string>
00039 #ifdef __ALPHA_UNIX__
00040 #include <ctype.h>
00041 #endif
00042 #include <string>
00043 #include <vector>
00044 
00045 namespace matrix_science {
00051 
00052 
00077     class MS_MASCOTRESFILE_API ms_unigeneoptions: public ms_customproperty
00078     {
00079         friend class ms_datfile;
00080 
00081     public:
00082 
00084         ms_unigeneoptions();
00085 
00087         ms_unigeneoptions(const ms_unigeneoptions& src);
00088 
00090         virtual ~ms_unigeneoptions();
00091 
00093         void copyFrom(const ms_unigeneoptions* right);
00094 
00095 #ifndef SWIG
00096 
00097         ms_unigeneoptions& operator=(const ms_unigeneoptions& right);
00098 #endif
00099 
00100         virtual void defaultValues();
00101 
00103         bool isSectionAvailable() const;
00104 
00106         void setSectionAvailable(const bool value);
00107 
00108 #ifdef SUPPRESS_MS_CUSTOMPROPERTY_INHERITANCE
00109 #include "suppress_ms_customproperty.hpp"
00110 #endif
00111 
00112 
00113     private:
00114         bool sectionAvailable_;
00115 
00116     }; // class options // end of config_group
00118 } // namespace matrix_science
00119 
00120 #endif // MS_UNIGEGEOPTIONS_HPP
00121 
00122 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51