Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_distiller_search_status_list.hpp
1/*
2##############################################################################
3# file: ms_distiller_search_status_list.hpp
4# 'msparser' toolkit
5# An extracted ion chromatogram
6##############################################################################
7# COPYRIGHT NOTICE
8# Copyright 1998-2014 Matrix Science Limited All Rights Reserved.
9#
10##############################################################################
11 * @(#)$Source: parser/inc/ms_distiller_search_status_list.hpp $
12 * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2018-07-30 16:23:53 +0100 $
14##############################################################################
15 */
16
17#ifndef MS_DISTILLER_SEARCH_STATUS_LIST_HPP
18#define MS_DISTILLER_SEARCH_STATUS_LIST_HPP
19
20
21// Includes from the standard template library
22#include <string>
23
24namespace msparser_internal
25{
26 class ms_XMLHelper;
27 class ms_XMLElement;
28}
29
30namespace matrix_science
31{
32 class ms_input_stream;
33
34 //=========================================================================
40 class ms_distiller_search_status;
41
43
46 class MS_MASCOTRESFILE_API ms_distiller_search_status_list :
48 {
49 public:
52#ifndef SWIG
54#endif
55 void copyFrom(const ms_distiller_search_status_list * right);
56
58 static std::string getSearchStatusListStreamName();
59
61 int getNumSearches() const;
63 const ms_distiller_search_status & getSearch(int index) const; // (index 1..n)
64
66 bool loadXml(const char * xmlSchemaPath, const std::string & xmlText);
68 bool loadXmlFile(const char * xmlSchemaPath, const std::string & xmlFilename);
70 bool loadXmlStream(const char * xmlSchemaPath, matrix_science::ms_input_string_stream * xmlStream);
71
72 private:
73 bool extractXml(msparser_internal::ms_XMLHelper & helper);
74
75 std::vector<ms_distiller_search_status> searches_;
76 };
77 // end of quantitation_group
79 //=========================================================================
80
81} // namespace matrix_science
82
83#endif // MS_DISTILLER_SEARCH_STATUS_LIST_HPP
84
85/*------------------------------- End of File -------------------------------*/
A list of Mascot search status values, typically stored in a Distiller project file.
Definition: ms_distiller_search_status_list.hpp:48
A Mascot search status from a Distiller project file.
Definition: ms_distiller_search_status.hpp:43
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696