Matrix Science header

ms_distiller_master_search.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_distiller_master_search.hpp
00004 # 'msparser' toolkit
00005 # An extracted ion chromatogram
00006 ##############################################################################
00007 # COPYRIGHT NOTICE
00008 # Copyright 1998-2014 Matrix Science Limited  All Rights Reserved.
00009 #
00010 ##############################################################################
00011  * @(#)$Source: /vol/cvsroot/parser/inc/ms_distiller_master_search.hpp,v $
00012  * @(#)$Revision: 1.4 $
00013  * @(#)$Date: 2016/05/17 10:35:03 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_DISTILLER_MASTER_SEARCH_HPP
00018 #define MS_DISTILLER_MASTER_SEARCH_HPP
00019 
00020 #ifdef _WIN32
00021 #pragma warning(disable:4251)   // Don't want all classes to be exported
00022 #pragma warning(disable:4786)   // Debug symbols too long
00023 #   ifndef _MATRIX_USE_STATIC_LIB
00024 #       ifdef MS_MASCOTRESFILE_EXPORTS
00025 #           define MS_MASCOTRESFILE_API __declspec(dllexport)
00026 #       else
00027 #           define MS_MASCOTRESFILE_API __declspec(dllimport)
00028 #       endif
00029 #   else
00030 #       define MS_MASCOTRESFILE_API
00031 #   endif
00032 #else
00033 #   define MS_MASCOTRESFILE_API
00034 #endif
00035 
00036 // Includes from the standard template library
00037 #include <string>
00038 
00039 
00040 namespace msparser_internal
00041 {
00042     class ms_XMLHelper;
00043     class ms_XMLElement;
00044 }
00045 
00046 namespace matrix_science
00047 {
00048     //=========================================================================
00054 
00055 
00058     class MS_MASCOTRESFILE_API ms_distiller_master_search
00059     {
00060         public:
00061             // used internally
00062             ms_distiller_master_search();
00063             virtual ~ms_distiller_master_search() { }
00064 
00065             bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
00066 
00068             virtual int getId() const;
00070             virtual std::string getCacheFilename() const;
00071 
00073             virtual int getNumSubsearches() const;
00075             virtual const ms_distiller_subsearch & getSubsearch(int index) const;
00076 
00078             virtual std::string getCombinedPeptideSummaryCacheStreamName() const;
00079 
00080         private:
00081             int id;
00082             std::string cacheFilename;
00083             std::vector<ms_distiller_subsearch> subsearches;
00084     };
00085  // end of quantitation_group
00087     //=========================================================================
00088 
00089 } // namespace matrix_science
00090 
00091 #endif // MS_DISTILLER_MASTER_SEARCH_HPP
00092 
00093 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:50