Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_distiller_master_project.hpp
1/*
2##############################################################################
3# file: ms_distiller_master_project.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_master_project.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_MASTER_PROJECT_HPP
18#define MS_DISTILLER_MASTER_PROJECT_HPP
19
20
21// Includes from the standard template library
22#include <string>
23
24
25namespace msparser_internal
26{
27 class ms_XMLHelper;
28 class ms_XMLElement;
29}
30
31namespace matrix_science
32{
33 //=========================================================================
39 class ms_distiller_master_search;
40 class ms_distiller_sub_project;
41
43
46 class MS_MASCOTRESFILE_API ms_distiller_master_project :
48 {
49 public:
52
54#ifndef SWIG
56#endif
57 void copyFrom(const ms_distiller_master_project * right);
58
60 static std::string getMasterProjectStreamName();
61
63 virtual int getNumSubprojects() const;
65 virtual const ms_distiller_sub_project & getSubproject(int index) const;
66
68 virtual int getNumSearches() const;
70 virtual const ms_distiller_master_search & getSearch(int index) const;
71
73 virtual bool loadXml(const char * xmlSchemaPath, std::string xmlText);
75 virtual bool loadXmlFile(const char * xmlSchemaPath, std::string xmlFilename);
77 virtual bool loadXmlStream(const char * xmlSchemaPath, matrix_science::ms_input_string_stream * xmlStream);
78
79 private:
80 bool extractXml(msparser_internal::ms_XMLHelper & helper);
81
82 std::vector<ms_distiller_sub_project> subprojects;
83 std::vector<ms_distiller_master_search> searches;
84 };
85 // end of quantitation_group
87 //=========================================================================
88
89} // namespace matrix_science
90
91#endif // MS_DISTILLER_MASTER_PROJECT_HPP
92
93/*------------------------------- End of File -------------------------------*/
Data for a Distiller master project, includes a list of the subprojects.
Definition: ms_distiller_master_project.hpp:48
The details of a Distiller multifile search.
Definition: ms_distiller_master_search.hpp:44
The details of a Distiller multifile subproject.
Definition: ms_distiller_sub_project.hpp:44
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696