Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_msr2dat28.hpp
1/*
2##############################################################################
3# file: ms_msr2dat28.hpp #
4# 'msparser' toolkit #
5# Converter from MSR to .dat results file format
6##############################################################################
7# COPYRIGHT NOTICE #
8# Copyright 1998-2023 Matrix Science Limited All Rights Reserved. #
9# #
10##############################################################################
11# $Author: villek@matrixscience.com $
12# $Date: 2024-09-23 15:56:03 +0100 $
13# $Revision: 09156baa48968c2f3ca3f6899bf06cc9caec40b7 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
14##############################################################################
15*/
16
17#ifndef MS_MSR2DAT28_HPP
18#define MS_MSR2DAT28_HPP
19
20#include <list>
21#include <string>
22
23
24namespace msparser_internal {
25 class ms_msr2dat28_impl;
26}
27
28namespace matrix_science {
29 class ms_mascotresfile_msr;
30
37
68 class MS_MASCOTRESFILE_API ms_msr2dat28 : public ms_errors
69 {
70 public:
72 explicit ms_msr2dat28(const ms_mascotresfile_msr &resfile);
73
75
77 bool isConversionSupported() const;
78
80 void includeIndexSection(bool maybe);
81
83 bool isIndexSectionIncluded() const;
84
86 void includeQuerySectionIonsLines(bool maybe);
87
89 bool isQuerySectionIonsLinesIncluded() const;
90
92 void rewind();
93
95 int getCurrentLineNumber() const;
96
98 std::string getNextLine();
99
100 private:
101 ms_msr2dat28();
102
103 private:
104 const ms_mascotresfile_msr &resfile_;
105 std::unique_ptr<msparser_internal::ms_msr2dat28_impl> impl_;
106
107 }; // end of resfile_group
109} // matrix_science namespace
110
111#endif // MS_MSR2DAT28_HPP
112
113/*------------------------------- End of File -------------------------------*/
This class is used as a base class for several Mascot Parser classes.
Definition: ms_errors.hpp:696
Class for parsing and reading files in MSR format.
Definition: ms_mascotresfile_msr.hpp:105
This class converts a Mascot Search Results (MSR) file to legacy .dat format.
Definition: ms_msr2dat28.hpp:69