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 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
|
<HTML>
<HEAD>
<TITLE>XMLFile 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> ·
<A href="classes.html">Classes</A> ·
<A href="annotated.html">Annotated Classes</A> ·
<A href="modules.html">Modules</A> ·
<A href="functions_func.html">Members</A> ·
<A href="namespaces.html">Namespaces</A> ·
<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="namespaceOpenMS_1_1Internal.html">Internal</a></li><li class="navelem"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classOpenMS_1_1Internal_1_1XMLFile-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">XMLFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Base class for loading/storing XML files that have a handler derived from <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html" title="Base class for XML handlers. ">XMLHandler</a>.
<a href="classOpenMS_1_1Internal_1_1XMLFile.html#details">More...</a></p>
<p><code>#include <<a class="el" href="XMLFile_8h_source.html">OpenMS/FORMAT/XMLFile.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for XMLFile:</div>
<div class="dyncontent">
<div class="center">
<img src="classOpenMS_1_1Internal_1_1XMLFile.png" usemap="#XMLFile_map" alt=""/>
<map id="XMLFile_map" name="XMLFile_map">
<area href="classOpenMS_1_1ConsensusXMLFile.html" title="This class provides Input functionality for ConsensusMaps and Output functionality for alignments and..." alt="ConsensusXMLFile" shape="rect" coords="154,56,298,80"/>
<area href="classOpenMS_1_1CVMappingFile.html" title="Used to load CvMapping files. " alt="CVMappingFile" shape="rect" coords="154,112,298,136"/>
<area href="classOpenMS_1_1FeatureXMLFile.html" title="This class provides Input/Output functionality for feature maps. " alt="FeatureXMLFile" shape="rect" coords="154,168,298,192"/>
<area href="classOpenMS_1_1IdXMLFile.html" title="Used to load and store idXML files. " alt="IdXMLFile" shape="rect" coords="154,224,298,248"/>
<area href="classOpenMS_1_1Internal_1_1SemanticValidator.html" title="Semantically validates XML files using CVMappings and a ControlledVocabulary. " alt="SemanticValidator" shape="rect" coords="154,280,298,304"/>
<area href="classOpenMS_1_1MascotXMLFile.html" title="Used to load MascotXML files. " alt="MascotXMLFile" shape="rect" coords="154,336,298,360"/>
<area href="classOpenMS_1_1MzDataFile.html" title="File adapter for MzData files. " alt="MzDataFile" shape="rect" coords="154,392,298,416"/>
<area href="classOpenMS_1_1MzIdentMLFile.html" title="File adapter for MzIdentML files. " alt="MzIdentMLFile" shape="rect" coords="154,448,298,472"/>
<area href="classOpenMS_1_1MzMLFile.html" title="File adapter for MzML files. " alt="MzMLFile" shape="rect" coords="154,504,298,528"/>
<area href="classOpenMS_1_1MzQuantMLFile.html" title="File adapter for MzQuantML files. " alt="MzQuantMLFile" shape="rect" coords="154,560,298,584"/>
<area href="classOpenMS_1_1MzXMLFile.html" title="File adapter for MzXML 2.1 files. " alt="MzXMLFile" shape="rect" coords="154,616,298,640"/>
<area href="classOpenMS_1_1OMSSAXMLFile.html" title="Used to load OMSSAXML files. " alt="OMSSAXMLFile" shape="rect" coords="154,672,298,696"/>
<area href="classOpenMS_1_1ParamXMLFile.html" title="The file pendant of the Param class used to load and store the param datastructure as paramXML..." alt="ParamXMLFile" shape="rect" coords="154,728,298,752"/>
<area href="classOpenMS_1_1PepXMLFile.html" title="Used to load and store PepXML files. " alt="PepXMLFile" shape="rect" coords="154,784,298,808"/>
<area href="classOpenMS_1_1PepXMLFileMascot.html" title="Used to load Mascot PepXML files. " alt="PepXMLFileMascot" shape="rect" coords="154,840,298,864"/>
<area href="classOpenMS_1_1ProtXMLFile.html" title="Used to load (storing not supported, yet) ProtXML files. " alt="ProtXMLFile" shape="rect" coords="154,896,298,920"/>
<area href="classOpenMS_1_1PTMXMLFile.html" title="Used to load and store PTMXML files. " alt="PTMXMLFile" shape="rect" coords="154,952,298,976"/>
<area href="classOpenMS_1_1QcMLFile.html" title="File adapter for QcML files. " alt="QcMLFile" shape="rect" coords="154,1008,298,1032"/>
<area href="classOpenMS_1_1ToolDescriptionFile.html" title="File adapter for ToolDescriptor files. " alt="ToolDescriptionFile" shape="rect" coords="154,1064,298,1088"/>
<area href="classOpenMS_1_1TraMLFile.html" title="File adapter for HUPO PSI TraML files. " alt="TraMLFile" shape="rect" coords="154,1120,298,1144"/>
<area href="classOpenMS_1_1TransformationXMLFile.html" title="Used to load and store TransformationXML files. " alt="TransformationXMLFile" shape="rect" coords="154,1176,298,1200"/>
<area href="classOpenMS_1_1UnimodXMLFile.html" title="Used to load XML files from unimod.org files. " alt="UnimodXMLFile" shape="rect" coords="154,1232,298,1256"/>
<area href="classOpenMS_1_1XTandemInfile.html" title="XTandem input file. " alt="XTandemInfile" shape="rect" coords="154,1288,298,1312"/>
<area href="classOpenMS_1_1XTandemXMLFile.html" title="Used to load XTandemXML files. " alt="XTandemXMLFile" shape="rect" coords="154,1344,298,1368"/>
</map>
</div></div>
<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:a5288a663fb130ba112c205bd7c556fd4"><td class="memItemLeft" align="right" valign="top"> </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"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a5288a663fb130ba112c205bd7c556fd4">More...</a><br/></td></tr>
<tr class="separator:a5288a663fb130ba112c205bd7c556fd4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6a2f018df297124fba778512994282a"><td class="memItemLeft" align="right" valign="top"> </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> &schema_location, const <a class="el" href="classOpenMS_1_1String.html">String</a> &version)</td></tr>
<tr class="memdesc:ab6a2f018df297124fba778512994282a"><td class="mdescLeft"> </td><td class="mdescRight">Constructor that sets the schema location. <a href="#ab6a2f018df297124fba778512994282a">More...</a><br/></td></tr>
<tr class="separator:ab6a2f018df297124fba778512994282a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae64064342fc97bdd2008c5a91cd6d9de"><td class="memItemLeft" align="right" valign="top">virtual </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"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ae64064342fc97bdd2008c5a91cd6d9de">More...</a><br/></td></tr>
<tr class="separator:ae64064342fc97bdd2008c5a91cd6d9de"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f3216da86d8ced03f1b102a5c2e886c"><td class="memItemLeft" align="right" valign="top">bool </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> &filename, std::ostream &os=std::cerr)</td></tr>
<tr class="memdesc:a2f3216da86d8ced03f1b102a5c2e886c"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6b3b4b6857bc1987282e2f29611dd41"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </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"><td class="mdescLeft"> </td><td class="mdescRight">return the version of the schema <a href="#ae6b3b4b6857bc1987282e2f29611dd41">More...</a><br/></td></tr>
<tr class="separator:ae6b3b4b6857bc1987282e2f29611dd41"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ab08cc6e67bde4d478045ece950deb32b"><td class="memItemLeft" align="right" valign="top">void </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> &filename, <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html">XMLHandler</a> *handler)</td></tr>
<tr class="memdesc:ab08cc6e67bde4d478045ece950deb32b"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa99a8fa1726ecc3b865167eea1c17db7"><td class="memItemLeft" align="right" valign="top">void </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> &filename, <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html">XMLHandler</a> *handler) const </td></tr>
<tr class="memdesc:aa99a8fa1726ecc3b865167eea1c17db7"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97478c2a7b5ed960dae2ac5da0c03045"><td class="memItemLeft" align="right" valign="top">void </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> &encoding)</td></tr>
<tr class="separator:a97478c2a7b5ed960dae2ac5da0c03045"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aea8dd5b28e6057c3e2b3f296966431c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a> </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"><td class="mdescLeft"> </td><td class="mdescRight">XML schema file location. <a href="#aea8dd5b28e6057c3e2b3f296966431c3">More...</a><br/></td></tr>
<tr class="separator:aea8dd5b28e6057c3e2b3f296966431c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a33231ac1616a429e6533af15231951"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a> </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"><td class="mdescLeft"> </td><td class="mdescRight">Version string. <a href="#a5a33231ac1616a429e6533af15231951">More...</a><br/></td></tr>
<tr class="separator:a5a33231ac1616a429e6533af15231951"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b0159bfc4bc3062d47825cccfeec9cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1String.html">String</a> </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"><td class="mdescLeft"> </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"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for loading/storing XML files that have a handler derived from <a class="el" href="classOpenMS_1_1Internal_1_1XMLHandler.html" title="Base class for XML handlers. ">XMLHandler</a>. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a5288a663fb130ba112c205bd7c556fd4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="ab6a2f018df297124fba778512994282a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>schema_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>version</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor that sets the schema location. </p>
</div>
</div>
<a class="anchor" id="ae64064342fc97bdd2008c5a91cd6d9de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual ~<a class="el" href="classOpenMS_1_1Internal_1_1XMLFile.html">XMLFile</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a97478c2a7b5ed960dae2ac5da0c03045"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void enforceEncoding_ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>encoding</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ae6b3b4b6857bc1987282e2f29611dd41"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classOpenMS_1_1String.html">String</a>& getVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>return the version of the schema </p>
</div>
</div>
<a class="anchor" id="a2f3216da86d8ced03f1b102a5c2e886c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool isValid </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>os</em> = <code>std::cerr</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks if a file validates against the XML schema. </p>
<p>Error messages are printed to the error stream, unless redirected with the attribute <code>os</code> .</p>
<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 cannot be found </td></tr>
<tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1NotImplemented.html" title="Not implemented exception. ">Exception::NotImplemented</a></td><td>is thrown if there is no schema available for the file type </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab08cc6e67bde4d478045ece950deb32b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void parse_ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </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_1Internal_1_1XMLHandler.html">XMLHandler</a> * </td>
<td class="paramname"><em>handler</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parses the XML file given by <code>filename</code> using the handler given by <code>handler</code>. </p>
<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 is not found </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 an error occurred during the parsing </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa99a8fa1726ecc3b865167eea1c17db7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void save_ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1String.html">String</a> & </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_1Internal_1_1XMLHandler.html">XMLHandler</a> * </td>
<td class="paramname"><em>handler</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores the contents of the XML handler given by <code>handler</code> in the file given by <code>filename</code>. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classOpenMS_1_1Exception_1_1UnableToCreateFile.html" title="Unable to create file exception. ">Exception::UnableToCreateFile</a></td><td>is thrown if the file cannot be created </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6b0159bfc4bc3062d47825cccfeec9cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1String.html">String</a> enforced_encoding_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Encoding string that replaces the encoding (system dependend or specified in the XML). Disabled if empty. Used as a workaround for XTandem output xml. </p>
</div>
</div>
<a class="anchor" id="aea8dd5b28e6057c3e2b3f296966431c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1String.html">String</a> schema_location_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>XML schema file location. </p>
</div>
</div>
<a class="anchor" id="a5a33231ac1616a429e6533af15231951"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1String.html">String</a> schema_version_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Version string. </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:38 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|