Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_distiller_search_status.hpp
1/*
2##############################################################################
3# file: ms_distiller_search_status.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.hpp $
12 * @(#)$Revision: 5f5a3230c85e277f402844ad1dcf49796e9a3e42 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2019-04-03 10:57:19 +0100 $
14##############################################################################
15 */
16
17#ifndef MS_DISTILLER_SEARCH_STATUS_HPP
18#define MS_DISTILLER_SEARCH_STATUS_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 //=========================================================================
38
42 class MS_MASCOTRESFILE_API ms_distiller_search_status
43 {
44 public:
45 // used internally
47 bool extractXml(msparser_internal::ms_XMLHelper & helper, msparser_internal::ms_XMLElement & element);
48
50 int getId() const;
52 std::string getTaskId() const;
53#ifndef SWIGCSHARP
55 std::string getTitle() const;
56#else
57 std::wstring getTitle() const {
58 return getTitleWide();
59 };
60#endif
62 std::string getServer() const;
64 std::string getSubmitTime() const; // ISO 8601 date and time format, e.g. "2013-05-29T15:55:40"
66 std::string getResultsFile() const;
68 std::string getStatusMsg() const; // usually empty
70 int getError() const; // zero if no error
71
73 std::string getResfileStreamName() const;
75 std::string getPeptideSummaryCacheStreamName() const;
76
77 private:
78 std::wstring getTitleWide() const;
79
80 int id_;
81 std::string taskId_;
82 std::string title_;
83 std::string server_;
84 std::string submitTime_; // ISO 8601 date and time format, e.g. "2013-05-29T15:55:40"
85 std::string resultsFile_;
86 std::string statusMsg_;
87 int error_;
88 };
89 // end of quantitation_group
91 //=========================================================================
92
93} // namespace matrix_science
94
95#endif // MS_DISTILLER_SEARCH_STATUS_HPP
96
97/*------------------------------- End of File -------------------------------*/
A Mascot search status from a Distiller project file.
Definition: ms_distiller_search_status.hpp:43