Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > f53a3df8ddeca10007257b33f867a55e > files > 24

libofx-devel-0.9.1-2.fc12.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>LibOFX: OfxGenericContainer Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>OfxGenericContainer Class Reference</h1><!-- doxytag: class="OfxGenericContainer" --><p>Inheritance diagram for OfxGenericContainer:
<p><center><img src="classOfxGenericContainer.png" usemap="#OfxGenericContainer_map" border="0" alt=""></center>
<map name="OfxGenericContainer_map">
<area href="classOfxAccountContainer.html" alt="OfxAccountContainer" shape="rect" coords="163,56,316,80">
<area href="classOfxAccountContainer.html" alt="OfxAccountContainer" shape="rect" coords="163,112,316,136">
<area href="classOfxBalanceContainer.html" alt="OfxBalanceContainer" shape="rect" coords="163,168,316,192">
<area href="classOfxBalanceContainer.html" alt="OfxBalanceContainer" shape="rect" coords="163,224,316,248">
<area href="classOfxDummyContainer.html" alt="OfxDummyContainer" shape="rect" coords="163,280,316,304">
<area href="classOfxDummyContainer.html" alt="OfxDummyContainer" shape="rect" coords="163,336,316,360">
<area href="classOfxMainContainer.html" alt="OfxMainContainer" shape="rect" coords="163,392,316,416">
<area href="classOfxMainContainer.html" alt="OfxMainContainer" shape="rect" coords="163,448,316,472">
<area href="classOfxPushUpContainer.html" alt="OfxPushUpContainer" shape="rect" coords="163,504,316,528">
<area href="classOfxPushUpContainer.html" alt="OfxPushUpContainer" shape="rect" coords="163,560,316,584">
<area href="classOfxSecurityContainer.html" alt="OfxSecurityContainer" shape="rect" coords="163,616,316,640">
<area href="classOfxSecurityContainer.html" alt="OfxSecurityContainer" shape="rect" coords="163,672,316,696">
<area href="classOfxStatementContainer.html" alt="OfxStatementContainer" shape="rect" coords="163,728,316,752">
<area href="classOfxStatementContainer.html" alt="OfxStatementContainer" shape="rect" coords="163,784,316,808">
<area href="classOfxStatusContainer.html" alt="OfxStatusContainer" shape="rect" coords="163,840,316,864">
<area href="classOfxStatusContainer.html" alt="OfxStatusContainer" shape="rect" coords="163,896,316,920">
<area href="classOfxTransactionContainer.html" alt="OfxTransactionContainer" shape="rect" coords="163,952,316,976">
<area href="classOfxTransactionContainer.html" alt="OfxTransactionContainer" shape="rect" coords="163,1008,316,1032">
</map>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A generic container for an OFX SGML element. Every container inherits from <a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a>. 
<p>
A hierarchy of containers is built as the file is parsed. The supported OFX elements all have a matching container. The others are assigned a <a class="el" href="classOfxDummyContainer.html">OfxDummyContainer</a>, so every OFX element creates a container as the file is par Note however that containers are destroyed as soon as the corresponding SGML element is closed. 
<p>

<p>
Definition at line <a class="el" href="ofx__containers_8hh-source.html#l00033">33</a> of file <a class="el" href="ofx__containers_8hh-source.html">ofx_containers.hh</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a304d5bef635e4771cc04f3d55b8faa0"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="a304d5bef635e4771cc04f3d55b8faa0" args="(LibofxContext *p_libofx_context)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#a304d5bef635e4771cc04f3d55b8faa0">OfxGenericContainer</a> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3439790d6565423746d460be7510b888"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="3439790d6565423746d460be7510b888" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#3439790d6565423746d460be7510b888">OfxGenericContainer</a> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context, <a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *para_parentcontainer)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2767854a4bd914130650ce49eade8f81"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="2767854a4bd914130650ce49eade8f81" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer, string para_tag_identifier)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#2767854a4bd914130650ce49eade8f81">OfxGenericContainer</a> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context, <a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *para_parentcontainer, string para_tag_identifier)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9ee3f711630e091b036009a2c69de97"></a><!-- doxytag: member="OfxGenericContainer::~OfxGenericContainer" ref="c9ee3f711630e091b036009a2c69de97" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#c9ee3f711630e091b036009a2c69de97">~OfxGenericContainer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#6168716a931dc8e74bcb534fdadaf778">add_attribute</a> (const string identifier, const string value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add data to a container object.  <a href="#6168716a931dc8e74bcb534fdadaf778"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#a8ffd0a68bcea4f0048b392af5078105">gen_event</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate libofx.h events.  <a href="#a8ffd0a68bcea4f0048b392af5078105"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#e9ddc283e5d9a2853d7e02b4d9584036">add_to_main_tree</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add this container to the main tree.  <a href="#e9ddc283e5d9a2853d7e02b4d9584036"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d6e18d61e9e8f43a956e50cc5f90597"></a><!-- doxytag: member="OfxGenericContainer::getparent" ref="3d6e18d61e9e8f43a956e50cc5f90597" args="()" -->
<a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#3d6e18d61e9e8f43a956e50cc5f90597">getparent</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the parent container object (the one representing the containing OFX SGML element). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a304d5bef635e4771cc04f3d55b8faa0"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="a304d5bef635e4771cc04f3d55b8faa0" args="(LibofxContext *p_libofx_context)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>OfxGenericContainer</b> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3439790d6565423746d460be7510b888"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="3439790d6565423746d460be7510b888" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>OfxGenericContainer</b> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context, <a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *para_parentcontainer)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2767854a4bd914130650ce49eade8f81"></a><!-- doxytag: member="OfxGenericContainer::OfxGenericContainer" ref="2767854a4bd914130650ce49eade8f81" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer, string para_tag_identifier)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>OfxGenericContainer</b> (<a class="el" href="classLibofxContext.html">LibofxContext</a> *p_libofx_context, <a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *para_parentcontainer, string para_tag_identifier)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9ee3f711630e091b036009a2c69de97"></a><!-- doxytag: member="OfxGenericContainer::~OfxGenericContainer" ref="c9ee3f711630e091b036009a2c69de97" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#c9ee3f711630e091b036009a2c69de97">~OfxGenericContainer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#5de5c85a85aa1a35850c8528fd9c0fcd">add_attribute</a> (const string identifier, const string value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add data to a container object.  <a href="#5de5c85a85aa1a35850c8528fd9c0fcd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#57d3ae11d686961d6d5745cd02576694">gen_event</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate libofx.h events.  <a href="#57d3ae11d686961d6d5745cd02576694"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#172bdf425c7b89f8c1129a40307cac6e">add_to_main_tree</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add this container to the main tree.  <a href="#172bdf425c7b89f8c1129a40307cac6e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20c3e9b8e1c564b0050c446dd1371f5d"></a><!-- doxytag: member="OfxGenericContainer::getparent" ref="20c3e9b8e1c564b0050c446dd1371f5d" args="()" -->
<a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#20c3e9b8e1c564b0050c446dd1371f5d">getparent</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the parent container object (the one representing the containing OFX SGML element). <br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#2cad6fe32c79d320b8808d1e88b4e18a">type</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#2594ccb63eaf769a6b4b5d224411f031">tag_identifier</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff401a93eb35ca34b1e028dab30887ba"></a><!-- doxytag: member="OfxGenericContainer::parentcontainer" ref="ff401a93eb35ca34b1e028dab30887ba" args="" -->
<a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#ff401a93eb35ca34b1e028dab30887ba">parentcontainer</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2d199f4cd2a723ea2c935e83fbc340d"></a><!-- doxytag: member="OfxGenericContainer::libofx_context" ref="a2d199f4cd2a723ea2c935e83fbc340d" args="" -->
<a class="el" href="classLibofxContext.html">LibofxContext</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#a2d199f4cd2a723ea2c935e83fbc340d">libofx_context</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff401a93eb35ca34b1e028dab30887ba"></a><!-- doxytag: member="OfxGenericContainer::parentcontainer" ref="ff401a93eb35ca34b1e028dab30887ba" args="" -->
<a class="el" href="classOfxGenericContainer.html">OfxGenericContainer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#ff401a93eb35ca34b1e028dab30887ba">parentcontainer</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2d199f4cd2a723ea2c935e83fbc340d"></a><!-- doxytag: member="OfxGenericContainer::libofx_context" ref="a2d199f4cd2a723ea2c935e83fbc340d" args="" -->
<a class="el" href="classLibofxContext.html">LibofxContext</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxGenericContainer.html#a2d199f4cd2a723ea2c935e83fbc340d">libofx_context</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6168716a931dc8e74bcb534fdadaf778"></a><!-- doxytag: member="OfxGenericContainer::add_attribute" ref="6168716a931dc8e74bcb534fdadaf778" args="(const string identifier, const string value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OfxGenericContainer::add_attribute           </td>
          <td>(</td>
          <td class="paramtype">const string&nbsp;</td>
          <td class="paramname"> <em>identifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add data to a container object. 
<p>
Must be called once completed parsing an OFX SGML data element. The parent container should know what to do with it. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>identifier</em>&nbsp;</td><td>The name of the data element </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The concatenated string of the data </td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="classOfxDummyContainer.html#20a4287788197b0a787d94d450b85db3">OfxDummyContainer</a>, <a class="el" href="classOfxPushUpContainer.html#192a69d44555a22ad7e8cb16d7db53f8">OfxPushUpContainer</a>, <a class="el" href="classOfxStatusContainer.html#eb1155c63fdbe5a6c5d46b891e3bb483">OfxStatusContainer</a>, <a class="el" href="classOfxBalanceContainer.html#85951ca6d29aeace59a9ca86453e8abb">OfxBalanceContainer</a>, <a class="el" href="classOfxStatementContainer.html#6e983ad3a842f76dd452a0aef1af0c57">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#8dc0972f64b251191e6aa509cb1f493b">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#97f5d5e139d4cbba9790bedc06fa156e">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#efafa4ee0b6745e46e40b5bcafb322e6">OfxTransactionContainer</a>, <a class="el" href="classOfxBankTransactionContainer.html#9978c004a174afd5d013ca9806464d6d">OfxBankTransactionContainer</a>, <a class="el" href="classOfxInvestmentTransactionContainer.html#9122d7feb698cf423f92ec03aecb1e45">OfxInvestmentTransactionContainer</a>, <a class="el" href="classOfxDummyContainer.html#20a4287788197b0a787d94d450b85db3">OfxDummyContainer</a>, <a class="el" href="classOfxPushUpContainer.html#192a69d44555a22ad7e8cb16d7db53f8">OfxPushUpContainer</a>, <a class="el" href="classOfxStatusContainer.html#eb1155c63fdbe5a6c5d46b891e3bb483">OfxStatusContainer</a>, <a class="el" href="classOfxBalanceContainer.html#85951ca6d29aeace59a9ca86453e8abb">OfxBalanceContainer</a>, <a class="el" href="classOfxStatementContainer.html#6e983ad3a842f76dd452a0aef1af0c57">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#8dc0972f64b251191e6aa509cb1f493b">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#97f5d5e139d4cbba9790bedc06fa156e">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#2f1b9bed927fd4ae1b9f8dc7f70ba48b">OfxTransactionContainer</a>, <a class="el" href="classOfxBankTransactionContainer.html#9978c004a174afd5d013ca9806464d6d">OfxBankTransactionContainer</a>, and <a class="el" href="classOfxInvestmentTransactionContainer.html#9122d7feb698cf423f92ec03aecb1e45">OfxInvestmentTransactionContainer</a>.
<p>
Definition at line <a class="el" href="ofx__container__generic_8cpp-source.html#l00055">55</a> of file <a class="el" href="ofx__container__generic_8cpp-source.html">ofx_container_generic.cpp</a>.
<p>
Referenced by <a class="el" href="ofx__containers__misc_8cpp-source.html#l00156">OfxBalanceContainer::add_attribute()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00093">OfxStatusContainer::add_attribute()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00062">OfxPushUpContainer::add_attribute()</a>, <a class="el" href="ofx__container__transaction_8cpp-source.html#l00093">OfxTransactionContainer::add_attribute()</a>, <a class="el" href="ofx__container__statement_8cpp-source.html#l00050">OfxStatementContainer::add_attribute()</a>, <a class="el" href="ofx__container__security_8cpp-source.html#l00045">OfxSecurityContainer::add_attribute()</a>, <a class="el" href="ofx__container__account_8cpp-source.html#l00074">OfxAccountContainer::add_attribute()</a>, <a class="el" href="ofx__sgml_8cpp-source.html#l00211">OFXApplication::endElement()</a>, and <a class="el" href="ofc__sgml_8cpp-source.html#l00204">OFCApplication::endElement()</a>.
</div>
</div><p>
<a class="anchor" name="a8ffd0a68bcea4f0048b392af5078105"></a><!-- doxytag: member="OfxGenericContainer::gen_event" ref="a8ffd0a68bcea4f0048b392af5078105" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OfxGenericContainer::gen_event           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Generate libofx.h events. 
<p>
gen_event will call the appropriate ofx_proc_XXX_cb defined in libofx.h if one is available. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if a callback function vas called, false otherwise. </dd></dl>

<p>
Reimplemented in <a class="el" href="classOfxStatementContainer.html#0b0b76db66caad13b369e59604f14fc7">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#20381080f3bdd19af2b2c364f208cdf4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#22357ade2036de78947ac0cc0ce01f2d">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#733ee231fef8e72248cd9ab78b169a99">OfxTransactionContainer</a>, <a class="el" href="classOfxMainContainer.html#e0b60f837b87b912f70a6f19bab12c52">OfxMainContainer</a>, <a class="el" href="classOfxStatementContainer.html#d611872172c612d1a2aa56946debd2f0">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#32af3ba39b8276f4f39b1cad85b6bc45">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#847cb92d3247bef45535f8000c688d07">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#7281e2998d54cac58cbdeb46ebe16ede">OfxTransactionContainer</a>, and <a class="el" href="classOfxMainContainer.html#e0b60f837b87b912f70a6f19bab12c52">OfxMainContainer</a>.
<p>
Definition at line <a class="el" href="ofx__container__generic_8cpp-source.html#l00066">66</a> of file <a class="el" href="ofx__container__generic_8cpp-source.html">ofx_container_generic.cpp</a>.
<p>
Referenced by <a class="el" href="ofx__container__main_8cpp-source.html#l00057">OfxMainContainer::add_container()</a>.
</div>
</div><p>
<a class="anchor" name="e9ddc283e5d9a2853d7e02b4d9584036"></a><!-- doxytag: member="OfxGenericContainer::add_to_main_tree" ref="e9ddc283e5d9a2853d7e02b4d9584036" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OfxGenericContainer::add_to_main_tree           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add this container to the main tree. 
<p>
add_to_main_treegen_event will add the container to the main trees stored int the <a class="el" href="classOfxMainContainer.html">OfxMainContainer</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if successfull, false otherwise. </dd></dl>

<p>
Reimplemented in <a class="el" href="classOfxStatementContainer.html#4adfcf202dce4a8bfea9a05c7a137c1d">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#995f1933b2ecb3e33f991c092fbf3af4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#cbaa6366a60d903ee3b3748c9874157f">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#f3e7ffa3a55d3c0c67229c436875ed1d">OfxTransactionContainer</a>, <a class="el" href="classOfxStatementContainer.html#ca63153b74c6b4801e9b06a6f460e81d">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#995f1933b2ecb3e33f991c092fbf3af4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#ace001be26cc920eefdfc9d695e5f3d9">OfxSecurityContainer</a>, and <a class="el" href="classOfxTransactionContainer.html#44769e07a94afa5f75ef8076729fc090">OfxTransactionContainer</a>.
<p>
Definition at line <a class="el" href="ofx__container__generic_8cpp-source.html#l00072">72</a> of file <a class="el" href="ofx__container__generic_8cpp-source.html">ofx_container_generic.cpp</a>.
<p>
Referenced by <a class="el" href="ofx__sgml_8cpp-source.html#l00211">OFXApplication::endElement()</a>, and <a class="el" href="ofc__sgml_8cpp-source.html#l00204">OFCApplication::endElement()</a>.
</div>
</div><p>
<a class="anchor" name="5de5c85a85aa1a35850c8528fd9c0fcd"></a><!-- doxytag: member="OfxGenericContainer::add_attribute" ref="5de5c85a85aa1a35850c8528fd9c0fcd" args="(const string identifier, const string value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void OfxGenericContainer::add_attribute           </td>
          <td>(</td>
          <td class="paramtype">const string&nbsp;</td>
          <td class="paramname"> <em>identifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add data to a container object. 
<p>
Must be called once completed parsing an OFX SGML data element. The parent container should know what to do with it. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>identifier</em>&nbsp;</td><td>The name of the data element </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The concatenated string of the data </td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="classOfxDummyContainer.html#20a4287788197b0a787d94d450b85db3">OfxDummyContainer</a>, <a class="el" href="classOfxPushUpContainer.html#192a69d44555a22ad7e8cb16d7db53f8">OfxPushUpContainer</a>, <a class="el" href="classOfxStatusContainer.html#eb1155c63fdbe5a6c5d46b891e3bb483">OfxStatusContainer</a>, <a class="el" href="classOfxBalanceContainer.html#85951ca6d29aeace59a9ca86453e8abb">OfxBalanceContainer</a>, <a class="el" href="classOfxStatementContainer.html#6e983ad3a842f76dd452a0aef1af0c57">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#8dc0972f64b251191e6aa509cb1f493b">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#97f5d5e139d4cbba9790bedc06fa156e">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#efafa4ee0b6745e46e40b5bcafb322e6">OfxTransactionContainer</a>, <a class="el" href="classOfxBankTransactionContainer.html#9978c004a174afd5d013ca9806464d6d">OfxBankTransactionContainer</a>, <a class="el" href="classOfxInvestmentTransactionContainer.html#9122d7feb698cf423f92ec03aecb1e45">OfxInvestmentTransactionContainer</a>, <a class="el" href="classOfxDummyContainer.html#20a4287788197b0a787d94d450b85db3">OfxDummyContainer</a>, <a class="el" href="classOfxPushUpContainer.html#192a69d44555a22ad7e8cb16d7db53f8">OfxPushUpContainer</a>, <a class="el" href="classOfxStatusContainer.html#eb1155c63fdbe5a6c5d46b891e3bb483">OfxStatusContainer</a>, <a class="el" href="classOfxBalanceContainer.html#85951ca6d29aeace59a9ca86453e8abb">OfxBalanceContainer</a>, <a class="el" href="classOfxStatementContainer.html#6e983ad3a842f76dd452a0aef1af0c57">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#8dc0972f64b251191e6aa509cb1f493b">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#97f5d5e139d4cbba9790bedc06fa156e">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#2f1b9bed927fd4ae1b9f8dc7f70ba48b">OfxTransactionContainer</a>, <a class="el" href="classOfxBankTransactionContainer.html#9978c004a174afd5d013ca9806464d6d">OfxBankTransactionContainer</a>, and <a class="el" href="classOfxInvestmentTransactionContainer.html#9122d7feb698cf423f92ec03aecb1e45">OfxInvestmentTransactionContainer</a>.
</div>
</div><p>
<a class="anchor" name="57d3ae11d686961d6d5745cd02576694"></a><!-- doxytag: member="OfxGenericContainer::gen_event" ref="57d3ae11d686961d6d5745cd02576694" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int OfxGenericContainer::gen_event           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Generate libofx.h events. 
<p>
gen_event will call the appropriate ofx_proc_XXX_cb defined in libofx.h if one is available. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if a callback function vas called, false otherwise. </dd></dl>

<p>
Reimplemented in <a class="el" href="classOfxStatementContainer.html#0b0b76db66caad13b369e59604f14fc7">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#20381080f3bdd19af2b2c364f208cdf4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#22357ade2036de78947ac0cc0ce01f2d">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#733ee231fef8e72248cd9ab78b169a99">OfxTransactionContainer</a>, <a class="el" href="classOfxMainContainer.html#e0b60f837b87b912f70a6f19bab12c52">OfxMainContainer</a>, <a class="el" href="classOfxStatementContainer.html#d611872172c612d1a2aa56946debd2f0">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#32af3ba39b8276f4f39b1cad85b6bc45">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#847cb92d3247bef45535f8000c688d07">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#7281e2998d54cac58cbdeb46ebe16ede">OfxTransactionContainer</a>, and <a class="el" href="classOfxMainContainer.html#e0b60f837b87b912f70a6f19bab12c52">OfxMainContainer</a>.
</div>
</div><p>
<a class="anchor" name="172bdf425c7b89f8c1129a40307cac6e"></a><!-- doxytag: member="OfxGenericContainer::add_to_main_tree" ref="172bdf425c7b89f8c1129a40307cac6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int OfxGenericContainer::add_to_main_tree           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add this container to the main tree. 
<p>
add_to_main_treegen_event will add the container to the main trees stored int the <a class="el" href="classOfxMainContainer.html">OfxMainContainer</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if successfull, false otherwise. </dd></dl>

<p>
Reimplemented in <a class="el" href="classOfxStatementContainer.html#4adfcf202dce4a8bfea9a05c7a137c1d">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#995f1933b2ecb3e33f991c092fbf3af4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#cbaa6366a60d903ee3b3748c9874157f">OfxSecurityContainer</a>, <a class="el" href="classOfxTransactionContainer.html#f3e7ffa3a55d3c0c67229c436875ed1d">OfxTransactionContainer</a>, <a class="el" href="classOfxStatementContainer.html#ca63153b74c6b4801e9b06a6f460e81d">OfxStatementContainer</a>, <a class="el" href="classOfxAccountContainer.html#995f1933b2ecb3e33f991c092fbf3af4">OfxAccountContainer</a>, <a class="el" href="classOfxSecurityContainer.html#ace001be26cc920eefdfc9d695e5f3d9">OfxSecurityContainer</a>, and <a class="el" href="classOfxTransactionContainer.html#44769e07a94afa5f75ef8076729fc090">OfxTransactionContainer</a>.
</div>
</div><p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="2cad6fe32c79d320b8808d1e88b4e18a"></a><!-- doxytag: member="OfxGenericContainer::type" ref="2cad6fe32c79d320b8808d1e88b4e18a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classOfxGenericContainer.html#2cad6fe32c79d320b8808d1e88b4e18a">OfxGenericContainer::type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The type of the object, often == tag_identifier 
<p>
Definition at line <a class="el" href="ofx__containers_8hh-source.html#l00035">35</a> of file <a class="el" href="ofx__containers_8hh-source.html">ofx_containers.hh</a>.
<p>
Referenced by <a class="el" href="ofx__containers__misc_8cpp-source.html#l00093">OfxStatusContainer::add_attribute()</a>, <a class="el" href="ofx__container__generic_8cpp-source.html#l00055">add_attribute()</a>, <a class="el" href="ofx__sgml_8cpp-source.html#l00211">OFXApplication::endElement()</a>, <a class="el" href="ofc__sgml_8cpp-source.html#l00204">OFCApplication::endElement()</a>, <a class="el" href="ofx__container__account_8cpp-source.html#l00036">OfxAccountContainer::OfxAccountContainer()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00137">OfxBalanceContainer::OfxBalanceContainer()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00041">OfxDummyContainer::OfxDummyContainer()</a>, <a class="el" href="ofx__container__generic_8cpp-source.html#l00031">OfxGenericContainer()</a>, <a class="el" href="ofx__container__transaction_8cpp-source.html#l00259">OfxInvestmentTransactionContainer::OfxInvestmentTransactionContainer()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00056">OfxPushUpContainer::OfxPushUpContainer()</a>, <a class="el" href="ofx__container__security_8cpp-source.html#l00036">OfxSecurityContainer::OfxSecurityContainer()</a>, <a class="el" href="ofx__container__statement_8cpp-source.html#l00036">OfxStatementContainer::OfxStatementContainer()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00072">OfxStatusContainer::OfxStatusContainer()</a>, <a class="el" href="ofx__container__transaction_8cpp-source.html#l00036">OfxTransactionContainer::OfxTransactionContainer()</a>, <a class="el" href="ofx__sgml_8cpp-source.html#l00071">OFXApplication::startElement()</a>, <a class="el" href="ofc__sgml_8cpp-source.html#l00064">OFCApplication::startElement()</a>, and <a class="el" href="ofx__containers__misc_8cpp-source.html#l00145">OfxBalanceContainer::~OfxBalanceContainer()</a>.
</div>
</div><p>
<a class="anchor" name="2594ccb63eaf769a6b4b5d224411f031"></a><!-- doxytag: member="OfxGenericContainer::tag_identifier" ref="2594ccb63eaf769a6b4b5d224411f031" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classOfxGenericContainer.html#2594ccb63eaf769a6b4b5d224411f031">OfxGenericContainer::tag_identifier</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The identifer of the creating tag 
<p>
Definition at line <a class="el" href="ofx__containers_8hh-source.html#l00036">36</a> of file <a class="el" href="ofx__containers_8hh-source.html">ofx_containers.hh</a>.
<p>
Referenced by <a class="el" href="ofx__containers__misc_8cpp-source.html#l00047">OfxDummyContainer::add_attribute()</a>, <a class="el" href="ofx__container__statement_8cpp-source.html#l00073">OfxStatementContainer::add_balance()</a>, <a class="el" href="ofx__container__main_8cpp-source.html#l00057">OfxMainContainer::add_container()</a>, <a class="el" href="ofx__sgml_8cpp-source.html#l00211">OFXApplication::endElement()</a>, <a class="el" href="ofc__sgml_8cpp-source.html#l00204">OFCApplication::endElement()</a>, <a class="el" href="ofx__container__generic_8cpp-source.html#l00031">OfxGenericContainer()</a>, <a class="el" href="ofx__containers__misc_8cpp-source.html#l00056">OfxPushUpContainer::OfxPushUpContainer()</a>, and <a class="el" href="ofx__containers__misc_8cpp-source.html#l00072">OfxStatusContainer::OfxStatusContainer()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ofx__containers_8hh-source.html">ofx_containers.hh</a><li><a class="el" href="fx-0_89_81_2lib_2ofx__containers_8hh-source.html">fx-0.9.1/lib/ofx_containers.hh</a><li><a class="el" href="ofx__container__generic_8cpp-source.html">ofx_container_generic.cpp</a><li><a class="el" href="fx-0_89_81_2lib_2ofx__container__generic_8cpp-source.html">fx-0.9.1/lib/ofx_container_generic.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 9 21:22:00 2009 for LibOFX by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>