Matrix Science header

ms_distiller_sub_project.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_distiller_sub_project.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_sub_project.hpp,v $
00012  * @(#)$Revision: 1.3 $
00013  * @(#)$Date: 2016/05/17 10:35:03 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_DISTILLER_SUB_PROJECT_HPP
00018 #define MS_DISTILLER_SUB_PROJECT_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_sub_project
00059     {
00060         public:
00062             static std::string getResultsListStreamName();
00063 
00064             // used internally
00065             ms_distiller_sub_project();
00066             virtual ~ms_distiller_sub_project() { }
00067 
00068             bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
00069 
00071             virtual int getId() const;
00073             virtual std::string getType() const;
00075             virtual std::string getName() const;
00077             virtual int getRawSampleNumber() const;
00079             virtual int getRawFormat() const;
00081             virtual std::string getRawAbsolutePath() const;
00083             virtual std::string getRawRelativePath() const;
00085             virtual std::string getProjectRelativePath() const;
00087             virtual bool getHavePeakList() const;
00088 
00089         private:
00090             int id;
00091             std::string type; // "project" or "raw"
00092             std::string name;
00093             int rawSampleNumber;
00094             int rawFormat;
00095             std::string rawAbsolutePath;
00096             std::string rawRelativePath;
00097             std::string projectRelativePath;
00098             bool havePeakList;
00099     };
00100  // end of quantitation_group
00102     //=========================================================================
00103 
00104 } // namespace matrix_science
00105 
00106 #endif // MS_DISTILLER_SUB_PROJECT_HPP
00107 
00108 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:50