Matrix Science header

ms_distiller_search_status_list.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_distiller_search_status_list.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: parser/inc/ms_distiller_search_status_list.hpp $
00012  * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-07-30 16:23:53 +0100 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_DISTILLER_SEARCH_STATUS_LIST_HPP
00018 #define MS_DISTILLER_SEARCH_STATUS_LIST_HPP
00019 
00020 
00021 // Includes from the standard template library
00022 #include <string>
00023 
00024 namespace msparser_internal
00025 {
00026     class ms_XMLHelper;
00027     class ms_XMLElement;
00028 }
00029 
00030 namespace matrix_science
00031 {
00032     class ms_input_stream;
00033 
00034     //=========================================================================
00040      class ms_distiller_search_status;
00041 
00043 
00046     class MS_MASCOTRESFILE_API ms_distiller_search_status_list : 
00047         public matrix_science::ms_errors
00048     {
00049         public:
00050             ms_distiller_search_status_list();
00051             ms_distiller_search_status_list(const ms_distiller_search_status_list & src);
00052 #ifndef SWIG
00053             ms_distiller_search_status_list& operator=(const ms_distiller_search_status_list & right);
00054 #endif
00055             void copyFrom(const ms_distiller_search_status_list * right);
00056 
00058             static std::string getSearchStatusListStreamName();
00059 
00061             int getNumSearches() const;
00063             const ms_distiller_search_status & getSearch(int index) const; // (index 1..n)
00064 
00066             bool loadXml(const char * xmlSchemaPath, const std::string & xmlText);
00068             bool loadXmlFile(const char * xmlSchemaPath, const std::string & xmlFilename);
00070             bool loadXmlStream(const char * xmlSchemaPath, matrix_science::ms_input_string_stream * xmlStream);
00071 
00072         private:
00073             bool extractXml(msparser_internal::ms_XMLHelper & helper);
00074 
00075             std::vector<ms_distiller_search_status> searches_;
00076     };
00077  // end of quantitation_group
00079     //=========================================================================
00080 
00081 } // namespace matrix_science
00082 
00083 #endif // MS_DISTILLER_SEARCH_STATUS_LIST_HPP
00084 
00085 /*------------------------------- End of File -------------------------------*/

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