Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 54cac1c2268db633d66eeff1b4faa585 > files > 465

frepple-doc-0.8.1-3.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>C++ API frePPLe: frepple::utils::XMLOutput Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="../styles.css" rel="stylesheet"  type="text/css">
</head>
<body>
<div id="container">

<div id="menubar"> 
<div id="logo" align="center">
<br/><img src='../frepple.bmp' alt="frepple" /><br/>
<a href='http://www.frepple.com/'>
<strong>a Free<br/>Production Planning<br/>Library</strong>
</a>
</div>
<div id="menu">
<br/>
<h3><a href='../Main/HomePage.html'>Main</a></h3>
<h3><a href='../UI/Main.html'>User Manual</a></h3>
<h3><a href='../Tutorial/Main.html'>Tutorial</a></h3>
<h3><a href='../Frepple/Main.html'>Reference Manual</a></h3>
<h3><a href='../Main/FAQ.html'>FAQ</a></h3>
<h3><a href='index.html'>C++ API</a></h3>
<br/>
</div>  
</div>

<div id="content">
<br/>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00256.html">frepple</a>::<a class="el" href="a00257.html">utils</a>::<a class="el" href="a00189.html">XMLOutput</a>
  </div>
</div>
<div class="contents">
<h1>frepple::utils::XMLOutput Class Reference</h1><!-- doxytag: class="frepple::utils::XMLOutput" -->
<p>Base class for writing XML formatted data to an output stream.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00252_source.html">utils.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for frepple::utils::XMLOutput:</div>
<div class="dynsection">
<div class="center"><img src="a00661.png" border="0" usemap="#frepple_1_1utils_1_1_x_m_l_output_inherit__map" alt="Inheritance graph"/></div>
<map name="frepple_1_1utils_1_1_x_m_l_output_inherit__map" id="frepple_1_1utils_1_1_x_m_l_output_inherit__map">
<area shape="rect" id="node3" href="a00190.html" title="This class writes XML data to a flat file." alt="" coords="5,83,189,111"/>
<area shape="rect" id="node5" href="a00191.html" title="This class writes XML data to a string." alt="" coords="213,83,411,111"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00662.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a7e6cf5ecce1db074f6344d6325cf4d2c">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00096.html">Keyword</a> &amp;attr1, unsigned long val1, const <a class="el" href="a00096.html">Keyword</a> &amp;attr2, const string &amp;val2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a443f40701a739b3c1658ab6fc9cc510c">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00096.html">Keyword</a> &amp;attr1, const long val1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a293aabc7f709d18f02df8bba67bfb7d1">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const string &amp;atts)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ab785239a1c8ed884d659117e682d83e6">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00096.html">Keyword</a> &amp;attr1, const string &amp;val1, const <a class="el" href="a00096.html">Keyword</a> &amp;attr2, const string &amp;val2, const <a class="el" href="a00096.html">Keyword</a> &amp;attr3, const string &amp;val3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a356d4c3b9a1300a2aa2e79b907084671">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00096.html">Keyword</a> &amp;attr1, const string &amp;val1, const <a class="el" href="a00096.html">Keyword</a> &amp;attr2, const string &amp;val2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a96072d57753d0c39ddd0d0de251ebde5">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00096.html">Keyword</a> &amp;attr1, const string &amp;val1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a5c1811dae2e3eae344ad366f6441a8a5">BeginObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a604fea0ead9b0c46de97dda3fc7e5fb3">countObjects</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a05375aa593bb0514020b035411c8983c">EndObject</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a364e86ed0671915df858bc52adadd29f">getContentType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00120.html">Object</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a5783b534ee71d6e882a899b19a5a5680">getCurrentObject</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a5dfbbc5afc0fa8ada904941c7fbcc616">getHeaderAtts</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a01bf6e6c6aa0af27df5b93cf5458baa8">getHeaderStart</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00120.html">Object</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ab1c39c9ee1016cc2d29152fa95fa769d">getPreviousObject</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a903eeb451e93be054c86fef18ea3e763">setContentType</a> (<a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a> c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a772b7fd20390647570e262bbde210771">setHeaderAtts</a> (const string &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#aac2228568fab29bf4f7c05670ef73aa4">setHeaderStart</a> (const string &amp;s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a6597185302d64af2123d2b50dfdb117e">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00120.html">Object</a> &amp;o, <a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a> m=DEFAULT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a5bbb230a4863c6815a15b987c698596f">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;, const <a class="el" href="a00120.html">Object</a> *, <a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>=DEFAULT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a043b5327f166285dcd4adc6a211548a7">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00050.html">DateRange</a> &amp;d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#add8affbc550ab38e32cc257d668d3ff1">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00049.html">Date</a> d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a80ef0a26eb7de9c9dfb95764890ed1d3">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00179.html">TimePeriod</a> d)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a6ad153e87cd30d5d18fbc038695afdbc">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const char *val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a2eb6574bdfe7a0bc53956c19f49c701b">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;u, const <a class="el" href="a00096.html">Keyword</a> &amp;t1, unsigned long val1, const <a class="el" href="a00096.html">Keyword</a> &amp;t2, const string &amp;val2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#aaf272ebde3b4b2df6ecdaf0966af081e">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;u, const <a class="el" href="a00096.html">Keyword</a> &amp;t1, const string &amp;val1, const <a class="el" href="a00096.html">Keyword</a> &amp;t2, const string &amp;val2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#aa776a054b178b3e3b6c4f862ff726742">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;u, const <a class="el" href="a00096.html">Keyword</a> &amp;t, const <a class="el" href="a00049.html">Date</a> &amp;val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a51990a901196069128370df844927153">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;u, const <a class="el" href="a00096.html">Keyword</a> &amp;t, const long val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a99168835dff99596f27733756608c334">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;u, const <a class="el" href="a00096.html">Keyword</a> &amp;t, const string &amp;val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a071a34f7a33ca239e2e3efaad388b9f9">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const string &amp;val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a7b9dd66c013ab18d12cf483565d651e5">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const bool val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a928d4e6ee486c8f4a6250bfff5390bf6">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const double val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a927d0a24e743946d72a7fbf441060d50">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const int val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a711922eea4cfe3c33b97e4188dacc7d2">writeElement</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;t, const long unsigned int val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a07599c1544a419f9eb7a39f1e09b687f">writeElementWithHeader</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;tag, const <a class="el" href="a00120.html">Object</a> *object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a362be79c1caf88141d7dc3f6e2b05d79">writeHeader</a> (const <a class="el" href="a00096.html">Keyword</a> &amp;tag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#aa1559d8a141630b76d041aba4f1d0d6e">writeString</a> (const string &amp;c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a0cec2e954d750a69fdb195d71bca9ca3">XMLOutput</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a8a865092f069a6a50cf5c2b81a96ff87">XMLOutput</a> (ostream &amp;os)</td></tr>
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> = 2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> = 4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> = 1</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#a005f009145b4d6c69f3932b8832e30ce">setOutput</a> (ostream &amp;o)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Base class for writing XML formatted data to an output stream. </p>
<p>Subclasses implement writing to specific stream types, such as files and strings. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02122">2122</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a66eaca8f2ee77b0e698ae31e793fc8f1"></a><!-- doxytag: member="frepple::utils::XMLOutput::content_type" ref="a66eaca8f2ee77b0e698ae31e793fc8f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned short <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">frepple::utils::XMLOutput::content_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This type is used to define different types of output. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> </dd>
<dd>
<a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> </dd>
<dd>
<a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02134">2134</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8a865092f069a6a50cf5c2b81a96ff87"></a><!-- doxytag: member="frepple::utils::XMLOutput::XMLOutput" ref="a8a865092f069a6a50cf5c2b81a96ff87" args="(ostream &amp;os)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">frepple::utils::XMLOutput::XMLOutput </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor with a given stream. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02198">2198</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0cec2e954d750a69fdb195d71bca9ca3"></a><!-- doxytag: member="frepple::utils::XMLOutput::XMLOutput" ref="a0cec2e954d750a69fdb195d71bca9ca3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">frepple::utils::XMLOutput::XMLOutput </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default constructor. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02205">2205</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7e6cf5ecce1db074f6344d6325cf4d2c"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a7e6cf5ecce1db074f6344d6325cf4d2c" args="(const Keyword &amp;t, const Keyword &amp;attr1, unsigned long val1, const Keyword &amp;attr2, const string &amp;val2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>val1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T TAG_T1="val1" TAG_T2="val2"&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02270">2270</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a443f40701a739b3c1658ab6fc9cc510c"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a443f40701a739b3c1658ab6fc9cc510c" args="(const Keyword &amp;t, const Keyword &amp;attr1, const long val1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long&nbsp;</td>
          <td class="paramname"> <em>val1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T TAG_U="long"&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02261">2261</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a293aabc7f709d18f02df8bba67bfb7d1"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a293aabc7f709d18f02df8bba67bfb7d1" args="(const Keyword &amp;t, const string &amp;atts)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>atts</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02253">2253</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab785239a1c8ed884d659117e682d83e6"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="ab785239a1c8ed884d659117e682d83e6" args="(const Keyword &amp;t, const Keyword &amp;attr1, const string &amp;val1, const Keyword &amp;attr2, const string &amp;val2, const Keyword &amp;attr3, const string &amp;val3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val3</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T TAG_U="val1" TAG_V="val2" TAG_W="val3"&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02241">2241</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a356d4c3b9a1300a2aa2e79b907084671"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a356d4c3b9a1300a2aa2e79b907084671" args="(const Keyword &amp;t, const Keyword &amp;attr1, const string &amp;val1, const Keyword &amp;attr2, const string &amp;val2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T TAG_T1="val1" TAG_T2="val2"&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02230">2230</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a96072d57753d0c39ddd0d0de251ebde5"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a96072d57753d0c39ddd0d0de251ebde5" args="(const Keyword &amp;t, const Keyword &amp;attr1, const string &amp;val1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attr1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T TAG_U="val1"&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02221">2221</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c1811dae2e3eae344ad366f6441a8a5"></a><!-- doxytag: member="frepple::utils::XMLOutput::BeginObject" ref="a5c1811dae2e3eae344ad366f6441a8a5" args="(const Keyword &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::BeginObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Start writing a new object. This method will open a new XML-tag.<br/>
 Output: &lt;TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02213">2213</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a604fea0ead9b0c46de97dda3fc7e5fb3"></a><!-- doxytag: member="frepple::utils::XMLOutput::countObjects" ref="a604fea0ead9b0c46de97dda3fc7e5fb3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long frepple::utils::XMLOutput::countObjects </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of objects that have been serialized. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02463">2463</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a05375aa593bb0514020b035411c8983c"></a><!-- doxytag: member="frepple::utils::XMLOutput::EndObject" ref="a05375aa593bb0514020b035411c8983c" args="(const Keyword &amp;t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::EndObject </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the closing tag of this object and decrease the indentation level.<br/>
 Output: &lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02283">2283</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a364e86ed0671915df858bc52adadd29f"></a><!-- doxytag: member="frepple::utils::XMLOutput::getContentType" ref="a364e86ed0671915df858bc52adadd29f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a> frepple::utils::XMLOutput::getContentType </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns which type of export is requested. Constants have been defined for each type. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> </dd>
<dd>
<a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> </dd>
<dd>
<a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02167">2167</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5783b534ee71d6e882a899b19a5a5680"></a><!-- doxytag: member="frepple::utils::XMLOutput::getCurrentObject" ref="a5783b534ee71d6e882a899b19a5a5680" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00120.html">Object</a>* frepple::utils::XMLOutput::getCurrentObject </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a pointer to the object that is currently being saved. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02455">2455</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5dfbbc5afc0fa8ada904941c7fbcc616"></a><!-- doxytag: member="frepple::utils::XMLOutput::getHeaderAtts" ref="a5dfbbc5afc0fa8ada904941c7fbcc616" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string frepple::utils::XMLOutput::getHeaderAtts </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the attributes that are written for the root element of each XML document. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02195">2195</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a01bf6e6c6aa0af27df5b93cf5458baa8"></a><!-- doxytag: member="frepple::utils::XMLOutput::getHeaderStart" ref="a01bf6e6c6aa0af27df5b93cf5458baa8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string frepple::utils::XMLOutput::getHeaderStart </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the string that is printed as the first line of each XML document. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02185">2185</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab1c39c9ee1016cc2d29152fa95fa769d"></a><!-- doxytag: member="frepple::utils::XMLOutput::getPreviousObject" ref="ab1c39c9ee1016cc2d29152fa95fa769d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00120.html">Object</a>* frepple::utils::XMLOutput::getPreviousObject </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a pointer to the parent of the object that is being saved. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02459">2459</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a903eeb451e93be054c86fef18ea3e763"></a><!-- doxytag: member="frepple::utils::XMLOutput::setContentType" ref="a903eeb451e93be054c86fef18ea3e763" args="(content_type c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::setContentType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">content_type</a>&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Specify the type of export. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> </dd>
<dd>
<a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> </dd>
<dd>
<a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02174">2174</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a772b7fd20390647570e262bbde210771"></a><!-- doxytag: member="frepple::utils::XMLOutput::setHeaderAtts" ref="a772b7fd20390647570e262bbde210771" args="(const string &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::setHeaderAtts </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the attributes that are written for the root element of each XML document.<br/>
 The default value is an empty string. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02191">2191</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aac2228568fab29bf4f7c05670ef73aa4"></a><!-- doxytag: member="frepple::utils::XMLOutput::setHeaderStart" ref="aac2228568fab29bf4f7c05670ef73aa4" args="(const string &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::setHeaderStart </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the string that is printed as the first line of each XML document.<br/>
 The default value is: &lt;?xml version="1.0" encoding="UTF-8"?&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02181">2181</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a005f009145b4d6c69f3932b8832e30ce"></a><!-- doxytag: member="frepple::utils::XMLOutput::setOutput" ref="a005f009145b4d6c69f3932b8832e30ce" args="(ostream &amp;o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::setOutput </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>o</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updating the output stream. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02126">2126</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6597185302d64af2123d2b50dfdb117e"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a6597185302d64af2123d2b50dfdb117e" args="(const Keyword &amp;t, const Object &amp;o, mode m=DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00120.html">Object</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>&nbsp;</td>
          <td class="paramname"> <em>m</em> = <code>DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a5bbb230a4863c6815a15b987c698596f">writeElement(const Keyword&amp;, const Object*, mode)</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02431">2431</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5bbb230a4863c6815a15b987c698596f"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a5bbb230a4863c6815a15b987c698596f" args="(const Keyword &amp;, const Object *, mode=DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00120.html">Object</a> *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>&nbsp;</td>
          <td class="paramname"> <em>m</em> = <code>DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method writes a serializable object. It maintains a STL-map of all objects that have been saved already. For objects that have already been saved earlier, the method will instruct the serializable object to write only a reference, rather than the complete object. You should call this method for all objects in your xml document, except for the root object. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>writeElementWithHeader(const Keyword&amp;, Object*) </dd></dl>

<p>Definition at line <a class="el" href="a00255_source.html#l00578">578</a> of file <a class="el" href="a00255_source.html">xmlparser.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a043b5327f166285dcd4adc6a211548a7"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a043b5327f166285dcd4adc6a211548a7" args="(const Keyword &amp;t, const DateRange &amp;d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00050.html">DateRange</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>d</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an daterange element.<br/>
 Output: &lt;TAG_T&gt;d&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02415">2415</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="add8affbc550ab38e32cc257d668d3ff1"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="add8affbc550ab38e32cc257d668d3ff1" args="(const Keyword &amp;t, const Date d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00049.html">Date</a>&nbsp;</td>
          <td class="paramname"> <em>d</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an date element.<br/>
 Output: &lt;TAG_T&gt;d&lt;/TAG_T&gt; /&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02408">2408</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a80ef0a26eb7de9c9dfb95764890ed1d3"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a80ef0a26eb7de9c9dfb95764890ed1d3" args="(const Keyword &amp;t, const TimePeriod d)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00179.html">TimePeriod</a>&nbsp;</td>
          <td class="paramname"> <em>d</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an timeperiod element.<br/>
 Output: &lt;TAG_T&gt;d&lt;/TAG_T&gt; /&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02401">2401</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6ad153e87cd30d5d18fbc038695afdbc"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a6ad153e87cd30d5d18fbc038695afdbc" args="(const Keyword &amp;t, const char *val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes a C-type character string.<br/>
 Output: &lt;TAG_T&gt;val&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02392">2392</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2eb6574bdfe7a0bc53956c19f49c701b"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a2eb6574bdfe7a0bc53956c19f49c701b" args="(const Keyword &amp;u, const Keyword &amp;t1, unsigned long val1, const Keyword &amp;t2, const string &amp;val2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>val1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an element with a string and a long attribute.<br/>
 Output: &lt;TAG_U TAG_T1="val1" TAG_T2="val2"/&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02381">2381</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaf272ebde3b4b2df6ecdaf0966af081e"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="aaf272ebde3b4b2df6ecdaf0966af081e" args="(const Keyword &amp;u, const Keyword &amp;t1, const string &amp;val1, const Keyword &amp;t2, const string &amp;val2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an element with 2 string attributes.<br/>
 Output: &lt;TAG_U TAG_T1="val1" TAG_T2="val2"/&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02367">2367</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa776a054b178b3e3b6c4f862ff726742"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="aa776a054b178b3e3b6c4f862ff726742" args="(const Keyword &amp;u, const Keyword &amp;t, const Date &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00049.html">Date</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an element with a date attribute.<br/>
 Output: &lt;TAG_U TAG_T="val"/&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02359">2359</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a51990a901196069128370df844927153"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a51990a901196069128370df844927153" args="(const Keyword &amp;u, const Keyword &amp;t, const long val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an element with a long attribute.<br/>
 Output: &lt;TAG_U TAG_T="val"/&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02351">2351</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a99168835dff99596f27733756608c334"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a99168835dff99596f27733756608c334" args="(const Keyword &amp;u, const Keyword &amp;t, const string &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Writes an element with a string attribute.<br/>
 Output: &lt;TAG_U TAG_T="string"/&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02339">2339</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a071a34f7a33ca239e2e3efaad388b9f9"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a071a34f7a33ca239e2e3efaad388b9f9" args="(const Keyword &amp;t, const string &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write a string value enclosed opening and closing tags. Special characters (i.e. &amp; &lt; &gt;  ' ) are appropriately escaped.<br/>
 Output: &lt;TAG_T&gt;val&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02330">2330</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b9dd66c013ab18d12cf483565d651e5"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a7b9dd66c013ab18d12cf483565d651e5" args="(const Keyword &amp;t, const bool val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write a boolean value enclosed opening and closing tags. The boolean is written out as the string 'true' or 'false'.<br/>
 Output: &lt;TAG_T&gt;true&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02321">2321</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a928d4e6ee486c8f4a6250bfff5390bf6"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a928d4e6ee486c8f4a6250bfff5390bf6" args="(const Keyword &amp;t, const double val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write a double value enclosed opening and closing tags.<br/>
 Output: &lt;TAG_T&gt;double&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02312">2312</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a927d0a24e743946d72a7fbf441060d50"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a927d0a24e743946d72a7fbf441060d50" args="(const Keyword &amp;t, const int val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write an integer value enclosed opening and closing tags.<br/>
 Output: &lt;TAG_T&gt;integer&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02305">2305</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a711922eea4cfe3c33b97e4188dacc7d2"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElement" ref="a711922eea4cfe3c33b97e4188dacc7d2" args="(const Keyword &amp;t, const long unsigned int val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long unsigned int&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write an unsigned long value enclosed opening and closing tags.<br/>
 Output: &lt;TAG_T&gt;uint&lt;/TAG_T&gt; </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02298">2298</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a07599c1544a419f9eb7a39f1e09b687f"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeElementWithHeader" ref="a07599c1544a419f9eb7a39f1e09b687f" args="(const Keyword &amp;tag, const Object *object)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeElementWithHeader </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00120.html">Object</a> *&nbsp;</td>
          <td class="paramname"> <em>object</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method writes a serializable object with a complete XML compliant header.<br/>
 You should call this method for the root object of your xml document, and writeElement for all objects nested in it. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>writeElement(const Keyword&amp;, Object*) </dd>
<dd>
<a class="el" href="a00189.html#a362be79c1caf88141d7dc3f6e2b05d79">writeHeader</a> </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="a00162.html" title="An exception of this type is thrown when the library runs into problems that are...">RuntimeException</a></em>&nbsp;</td><td>Generated when multiple root elements are available for the output document. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00255_source.html#l00606">606</a> of file <a class="el" href="a00255_source.html">xmlparser.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a362be79c1caf88141d7dc3f6e2b05d79"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeHeader" ref="a362be79c1caf88141d7dc3f6e2b05d79" args="(const Keyword &amp;tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeHeader </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tag</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method writes the opening tag for an XML output.<br/>
 You should call this method or <a class="el" href="a00189.html#a07599c1544a419f9eb7a39f1e09b687f">writeElementWithHeader()</a> when writing the first element of an xml document. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a07599c1544a419f9eb7a39f1e09b687f">writeElementWithHeader</a> </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="a00162.html" title="An exception of this type is thrown when the library runs into problems that are...">RuntimeException</a></em>&nbsp;</td><td>Generated when multiple root elements are available for the output document. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00255_source.html#l00636">636</a> of file <a class="el" href="a00255_source.html">xmlparser.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa1559d8a141630b76d041aba4f1d0d6e"></a><!-- doxytag: member="frepple::utils::XMLOutput::writeString" ref="aa1559d8a141630b76d041aba4f1d0d6e" args="(const string &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::utils::XMLOutput::writeString </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the string to the output. No XML-tags are added, so this method is used for passing text straight into the output file. </p>

<p>Definition at line <a class="el" href="a00252_source.html#l02291">2291</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a15a07d2b32b0a35834df53c1791915dd"></a><!-- doxytag: member="frepple::utils::XMLOutput::PLAN" ref="a15a07d2b32b0a35834df53c1791915dd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">XMLOutput::content_type</a> <a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">frepple::utils::XMLOutput::PLAN</a> = 2<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constant to mark an export of the standard information plus the plan information. In this format, every entity is saved with the details on how it is used in the plan.<br/>
 E.g. a resource will be saved with a reference to all its loadplans. E.g. an operation will be saved with all its operationplans. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> </dd>
<dd>
<a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02152">2152</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa8319b850f4e96095adae41fa1863583"></a><!-- doxytag: member="frepple::utils::XMLOutput::PLANDETAIL" ref="aa8319b850f4e96095adae41fa1863583" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">XMLOutput::content_type</a> <a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">frepple::utils::XMLOutput::PLANDETAIL</a> = 4<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constant to mark an export of the lowest level of plan information. In addition to the plan information pegging information is now saved. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">STANDARD</a> </dd>
<dd>
<a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02159">2159</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0a9d200b0ddb8392c6b3802d479668dd"></a><!-- doxytag: member="frepple::utils::XMLOutput::STANDARD" ref="a0a9d200b0ddb8392c6b3802d479668dd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00189.html#a66eaca8f2ee77b0e698ae31e793fc8f1">XMLOutput::content_type</a> <a class="el" href="a00189.html#a0a9d200b0ddb8392c6b3802d479668dd">frepple::utils::XMLOutput::STANDARD</a> = 1<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constant used to mark standard export for the export. The standard export saves just enough information to persist the full state of the model as brief as possible. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="a00189.html#a15a07d2b32b0a35834df53c1791915dd">PLAN</a> </dd>
<dd>
<a class="el" href="a00189.html#aa8319b850f4e96095adae41fa1863583">PLANDETAIL</a> </dd></dl>

<p>Definition at line <a class="el" href="a00252_source.html#l02142">2142</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a00252_source.html">utils.h</a></li>
<li><a class="el" href="a00255_source.html">xmlparser.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="align: right;"><small>Documentation generated for frePPLe by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"/></a></small></address>
</div>
</div>
</body>
</html>