File: classOpenMS_1_1MascotXMLFile.html

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (339 lines) | stat: -rw-r--r-- 28,646 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<HTML>
<HEAD>
<TITLE>MascotXMLFile Class Reference</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> &nbsp;&middot;
<A href="classes.html">Classes</A> &nbsp;&middot;
<A href="annotated.html">Annotated Classes</A> &nbsp;&middot;
<A href="modules.html">Modules</A> &nbsp;&middot;
<A href="functions_func.html">Members</A> &nbsp;&middot;
<A href="namespaces.html">Namespaces</A> &nbsp;&middot;
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceOpenMS.html">OpenMS</a></li><li class="navelem"><a class="el" href="classOpenMS_1_1MascotXMLFile.html">MascotXMLFile</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classOpenMS_1_1MascotXMLFile-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MascotXMLFile Class Reference<div class="ingroups"><a class="el" href="group__FileIO.html">File IO</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Used to load MascotXML files.  
 <a href="classOpenMS_1_1MascotXMLFile.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="MascotXMLFile_8h_source.html">OpenMS/FORMAT/MascotXMLFile.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for MascotXMLFile:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classOpenMS_1_1MascotXMLFile.png" usemap="#MascotXMLFile_map" alt=""/>
  <map id="MascotXMLFile_map" name="MascotXMLFile_map">
<area href="classOpenMS_1_1Internal_1_1XMLFile.html" title="Base class for loading/storing XML files that have a handler derived from XMLHandler. " alt="XMLFile" shape="rect" coords="0,0,101,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1f47840b5fb63cf1ad9f823ac2e12227"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
<a class="el" href="classOpenMS_1_1Internal_1_1MascotXMLHandler.html#a6a5b7dd69471128e9cb680649b058f4f">Internal::MascotXMLHandler::RTMapping</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a></td></tr>
<tr class="separator:a1f47840b5fb63cf1ad9f823ac2e12227"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad2d1d74ff8feebb65c22e70b1f03ba76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#ad2d1d74ff8feebb65c22e70b1f03ba76">MascotXMLFile</a> ()</td></tr>
<tr class="memdesc:ad2d1d74ff8feebb65c22e70b1f03ba76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#ad2d1d74ff8feebb65c22e70b1f03ba76">More...</a><br/></td></tr>
<tr class="separator:ad2d1d74ff8feebb65c22e70b1f03ba76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c93745196d704459546675afaa970ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a0c93745196d704459546675afaa970ac">load</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;filename, <a class="el" href="classOpenMS_1_1ProteinIdentification.html">ProteinIdentification</a> &amp;protein_identification, std::vector&lt; <a class="el" href="classOpenMS_1_1PeptideIdentification.html">PeptideIdentification</a> &gt; &amp;id_data, const <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;rt_mapping=<a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a>(), const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;scan_regex=&quot;&quot;)</td></tr>
<tr class="memdesc:a0c93745196d704459546675afaa970ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">loads data from a Mascot XML file  <a href="#a0c93745196d704459546675afaa970ac">More...</a><br/></td></tr>
<tr class="separator:a0c93745196d704459546675afaa970ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23387dae923d27e1c30da7cbb34ec501"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a23387dae923d27e1c30da7cbb34ec501">load</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;filename, <a class="el" href="classOpenMS_1_1ProteinIdentification.html">ProteinIdentification</a> &amp;protein_identification, std::vector&lt; <a class="el" href="classOpenMS_1_1PeptideIdentification.html">PeptideIdentification</a> &gt; &amp;id_data, std::map&lt; <a class="el" href="classOpenMS_1_1String.html">String</a>, std::vector&lt; <a class="el" href="classOpenMS_1_1AASequence.html">AASequence</a> &gt; &gt; &amp;peptides, const <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;rt_mapping=<a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a>(), const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;scan_regex=&quot;&quot;)</td></tr>
<tr class="memdesc:a23387dae923d27e1c30da7cbb34ec501"><td class="mdescLeft">&#160;</td><td class="mdescRight">loads data from a Mascot XML file  <a href="#a23387dae923d27e1c30da7cbb34ec501">More...</a><br/></td></tr>
<tr class="separator:a23387dae923d27e1c30da7cbb34ec501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classOpenMS_1_1Internal_1_1XMLFile')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a></td></tr>
<tr class="memitem:a5288a663fb130ba112c205bd7c556fd4 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#a5288a663fb130ba112c205bd7c556fd4">XMLFile</a> ()</td></tr>
<tr class="memdesc:a5288a663fb130ba112c205bd7c556fd4 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a5288a663fb130ba112c205bd7c556fd4">More...</a><br/></td></tr>
<tr class="separator:a5288a663fb130ba112c205bd7c556fd4 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6a2f018df297124fba778512994282a inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#ab6a2f018df297124fba778512994282a">XMLFile</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;schema_location, const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;version)</td></tr>
<tr class="memdesc:ab6a2f018df297124fba778512994282a inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that sets the schema location.  <a href="#ab6a2f018df297124fba778512994282a">More...</a><br/></td></tr>
<tr class="separator:ab6a2f018df297124fba778512994282a inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae64064342fc97bdd2008c5a91cd6d9de inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#ae64064342fc97bdd2008c5a91cd6d9de">~XMLFile</a> ()</td></tr>
<tr class="memdesc:ae64064342fc97bdd2008c5a91cd6d9de inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ae64064342fc97bdd2008c5a91cd6d9de">More...</a><br/></td></tr>
<tr class="separator:ae64064342fc97bdd2008c5a91cd6d9de inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f3216da86d8ced03f1b102a5c2e886c inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#a2f3216da86d8ced03f1b102a5c2e886c">isValid</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;filename, std::ostream &amp;os=std::cerr)</td></tr>
<tr class="memdesc:a2f3216da86d8ced03f1b102a5c2e886c inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a file validates against the XML schema.  <a href="#a2f3216da86d8ced03f1b102a5c2e886c">More...</a><br/></td></tr>
<tr class="separator:a2f3216da86d8ced03f1b102a5c2e886c inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6b3b4b6857bc1987282e2f29611dd41 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#ae6b3b4b6857bc1987282e2f29611dd41">getVersion</a> () const </td></tr>
<tr class="memdesc:ae6b3b4b6857bc1987282e2f29611dd41 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the version of the schema  <a href="#ae6b3b4b6857bc1987282e2f29611dd41">More...</a><br/></td></tr>
<tr class="separator:ae6b3b4b6857bc1987282e2f29611dd41 inherit pub_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a12e63693edc162e721713985ef8ae0bf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a12e63693edc162e721713985ef8ae0bf">generateRTMapping</a> (const <a class="el" href="classOpenMS_1_1MSExperiment.html">MSExperiment</a>&lt;&gt;::ConstIterator begin, const <a class="el" href="classOpenMS_1_1MSExperiment.html">MSExperiment</a>&lt;&gt;::ConstIterator end, <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;rt_mapping)</td></tr>
<tr class="memdesc:a12e63693edc162e721713985ef8ae0bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a mapping between scan numbers and retention times in raw data.  <a href="#a12e63693edc162e721713985ef8ae0bf">More...</a><br/></td></tr>
<tr class="separator:a12e63693edc162e721713985ef8ae0bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classOpenMS_1_1Internal_1_1XMLFile')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a></td></tr>
<tr class="memitem:ab08cc6e67bde4d478045ece950deb32b inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#ab08cc6e67bde4d478045ece950deb32b">parse_</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;filename, <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html">XMLHandler</a> *handler)</td></tr>
<tr class="memdesc:ab08cc6e67bde4d478045ece950deb32b inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parses the XML file given by <code>filename</code> using the handler given by <code>handler</code>.  <a href="#ab08cc6e67bde4d478045ece950deb32b">More...</a><br/></td></tr>
<tr class="separator:ab08cc6e67bde4d478045ece950deb32b inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa99a8fa1726ecc3b865167eea1c17db7 inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#aa99a8fa1726ecc3b865167eea1c17db7">save_</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;filename, <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html">XMLHandler</a> *handler) const </td></tr>
<tr class="memdesc:aa99a8fa1726ecc3b865167eea1c17db7 inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the contents of the XML handler given by <code>handler</code> in the file given by <code>filename</code>.  <a href="#aa99a8fa1726ecc3b865167eea1c17db7">More...</a><br/></td></tr>
<tr class="separator:aa99a8fa1726ecc3b865167eea1c17db7 inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97478c2a7b5ed960dae2ac5da0c03045 inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#a97478c2a7b5ed960dae2ac5da0c03045">enforceEncoding_</a> (const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;encoding)</td></tr>
<tr class="separator:a97478c2a7b5ed960dae2ac5da0c03045 inherit pro_methods_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classOpenMS_1_1Internal_1_1XMLFile')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a></td></tr>
<tr class="memitem:aea8dd5b28e6057c3e2b3f296966431c3 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#aea8dd5b28e6057c3e2b3f296966431c3">schema_location_</a></td></tr>
<tr class="memdesc:aea8dd5b28e6057c3e2b3f296966431c3 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">XML schema file location.  <a href="#aea8dd5b28e6057c3e2b3f296966431c3">More...</a><br/></td></tr>
<tr class="separator:aea8dd5b28e6057c3e2b3f296966431c3 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a33231ac1616a429e6533af15231951 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#a5a33231ac1616a429e6533af15231951">schema_version_</a></td></tr>
<tr class="memdesc:a5a33231ac1616a429e6533af15231951 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Version string.  <a href="#a5a33231ac1616a429e6533af15231951">More...</a><br/></td></tr>
<tr class="separator:a5a33231ac1616a429e6533af15231951 inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0159bfc4bc3062d47825cccfeec9cd inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html#a6b0159bfc4bc3062d47825cccfeec9cd">enforced_encoding_</a></td></tr>
<tr class="memdesc:a6b0159bfc4bc3062d47825cccfeec9cd inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encoding string that replaces the encoding (system dependend or specified in the XML). Disabled if empty. Used as a workaround for XTandem output xml.  <a href="#a6b0159bfc4bc3062d47825cccfeec9cd">More...</a><br/></td></tr>
<tr class="separator:a6b0159bfc4bc3062d47825cccfeec9cd inherit pro_attribs_classOpenMS_1_1Internal_1_1XMLFile"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Used to load MascotXML files. </p>
<p>This class is used to load documents that implement the schema of MascotXML files. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a1f47840b5fb63cf1ad9f823ac2e12227"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classOpenMS_1_1Internal_1_1MascotXMLHandler.html#a6a5b7dd69471128e9cb680649b058f4f">Internal::MascotXMLHandler::RTMapping</a> <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad2d1d74ff8feebb65c22e70b1f03ba76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOpenMS_1_1MascotXMLFile.html">MascotXMLFile</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a12e63693edc162e721713985ef8ae0bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void generateRTMapping </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1MSExperiment.html">MSExperiment</a>&lt;&gt;::ConstIterator&#160;</td>
          <td class="paramname"><em>begin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1MSExperiment.html">MSExperiment</a>&lt;&gt;::ConstIterator&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;&#160;</td>
          <td class="paramname"><em>rt_mapping</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Generates a mapping between scan numbers and retention times in raw data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">begin</td><td>Iterator to the first spectrum </td></tr>
    <tr><td class="paramname">end</td><td>Iterator past the last spectrum </td></tr>
    <tr><td class="paramname">rt_mapping</td><td>Output mapping</td></tr>
  </table>
  </dd>
</dl>
<p>The mapping can be used to infer retention times of identifications when a Mascot XML file is loaded. </p>

</div>
</div>
<a class="anchor" id="a0c93745196d704459546675afaa970ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void load </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOpenMS_1_1ProteinIdentification.html">ProteinIdentification</a> &amp;&#160;</td>
          <td class="paramname"><em>protein_identification</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classOpenMS_1_1PeptideIdentification.html">PeptideIdentification</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>id_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;&#160;</td>
          <td class="paramname"><em>rt_mapping</em> = <code><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>scan_regex</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>loads data from a Mascot XML file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>the file to be loaded </td></tr>
    <tr><td class="paramname">protein_identification</td><td>protein identifications belonging to the whole experiment </td></tr>
    <tr><td class="paramname">id_data</td><td>the identifications with m/z and RT </td></tr>
    <tr><td class="paramname">rt_mapping</td><td>An optional mapping of scan indices to RT, in case the file only contains scan numbers </td></tr>
    <tr><td class="paramname">scan_regex</td><td>An optional regular expression used to extract the scan numbers</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1FileNotFound.html" title="File not found exception. ">Exception::FileNotFound</a></td><td>is thrown if the file does not exists. </td></tr>
    <tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1ParseError.html" title="Parse Error exception. ">Exception::ParseError</a></td><td>is thrown if the file does not suit to the standard.</td></tr>
  </table>
  </dd>
</dl>
<p>This method serves to read in a Mascot XML file. The information can be retrieved via the load function. </p>

</div>
</div>
<a class="anchor" id="a23387dae923d27e1c30da7cbb34ec501"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void load </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOpenMS_1_1ProteinIdentification.html">ProteinIdentification</a> &amp;&#160;</td>
          <td class="paramname"><em>protein_identification</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classOpenMS_1_1PeptideIdentification.html">PeptideIdentification</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>id_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::map&lt; <a class="el" href="classOpenMS_1_1String.html">String</a>, std::vector&lt; <a class="el" href="classOpenMS_1_1AASequence.html">AASequence</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>peptides</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a> &amp;&#160;</td>
          <td class="paramname"><em>rt_mapping</em> = <code><a class="el" href="classOpenMS_1_1MascotXMLFile.html#a1f47840b5fb63cf1ad9f823ac2e12227">RTMapping</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>scan_regex</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>loads data from a Mascot XML file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>the file to be loaded </td></tr>
    <tr><td class="paramname">protein_identification</td><td>protein identifications belonging to the whole experiment </td></tr>
    <tr><td class="paramname">id_data</td><td>the identifications with m/z and RT </td></tr>
    <tr><td class="paramname">peptides</td><td>a map of modified peptides identified by the <a class="el" href="classOpenMS_1_1String.html" title="A more convenient string class. ">String</a> title </td></tr>
    <tr><td class="paramname">rt_mapping</td><td>An optional mapping of scan indices to RT, in case the file only contains scan numbers </td></tr>
    <tr><td class="paramname">scan_regex</td><td>An optional regular expression used to extract the scan numbers</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1FileNotFound.html" title="File not found exception. ">Exception::FileNotFound</a></td><td>is thrown if the file does not exists. </td></tr>
    <tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1ParseError.html" title="Parse Error exception. ">Exception::ParseError</a></td><td>is thrown if the file does not suit to the standard.</td></tr>
  </table>
  </dd>
</dl>
<p>This method serves to read in a Mascot XML file. The information can be retrieved via the load function. </p>

</div>
</div>
</div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:31 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>