Matrix Science header

ms_mascotfiles.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_mascotfiles.hpp                                                   #
00004 # 'msparser' toolkit                                                         #
00005 # Contains pathes to some configuration files                                #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2003 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011 #    $Archive:: /Mowse/ms_mascotresfile/include/ms_mascotfiles.hpp         $ #
00012 #     $Author: villek $ #
00013 #       $Date: 2010/09/06 16:18:57 $ #
00014 #   $Revision: 1.8 $ #
00015 # $NoKeywords::                                                            $ #
00016 ##############################################################################
00017 */
00018 
00019 #ifndef MS_MASCOTFILES_HPP
00020 #define MS_MASCOTFILES_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 
00044 
00045 namespace matrix_science {
00051 
00052 
00071     class MS_MASCOTRESFILE_API ms_mascotfiles: public ms_customproperty
00072     {
00073         friend class ms_datfile;
00074     public:
00075 
00077         ms_mascotfiles(); 
00078 
00080         ms_mascotfiles(const ms_mascotfiles& src);
00081 
00083         ~ms_mascotfiles();
00084 
00086         void defaultValues();
00087 
00089         void copyFrom(const ms_mascotfiles* right);
00090 
00091 #ifndef SWIG
00092 
00093         ms_mascotfiles& operator=(const ms_mascotfiles& right);
00094 #endif
00095 
00096         std::string getModifications() const;
00097 
00099         void setModifications(const char* filename);
00100 
00102         std::string getEnzymes() const;
00103 
00105         void setEnzymes(const char* filename);
00106 
00108         std::string getFrequencies() const;
00109 
00111         void setFrequencies(const char* filename);
00112 
00114         std::string getNodeListFile() const;
00115 
00117         void setNodeListFile(const char* filename);
00118 
00119 #ifdef SUPPRESS_MS_CUSTOMPROPERTY_INHERITANCE
00120 #include "suppress_ms_customproperty.hpp"
00121 #endif
00122 
00123     private:
00124         std::string mods_;
00125         std::string enzymes_;
00126         std::string freqs_;
00127         std::string nodeListFile_;
00128     };// class ms_mascotfiles // end of config_group
00130 
00131 } // namespace matrix_science
00132 
00133 #endif // MS_MASCOTFILES_HPP
00134 
00135 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51