<!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>LibOFX: OfxTransactionContainer Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">LibOFX</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('classOfxTransactionContainer.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <div class="title">OfxTransactionContainer Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="OfxTransactionContainer" --><!-- doxytag: inherits="OfxGenericContainer" --> <p>Represents a generic transaction. <a href="classOfxTransactionContainer.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for OfxTransactionContainer:</div> <div class="dyncontent"> <div class="center"> <img src="classOfxTransactionContainer.png" usemap="#OfxTransactionContainer_map" alt=""/> <map id="OfxTransactionContainer_map" name="OfxTransactionContainer_map"> <area href="classOfxGenericContainer.html" title="A generic container for an OFX SGML element. Every container inherits from OfxGenericContainer." alt="OfxGenericContainer" shape="rect" coords="111,0,323,24"/> <area href="classOfxBankTransactionContainer.html" title="Represents a bank or credid card transaction." alt="OfxBankTransactionContainer" shape="rect" coords="0,112,212,136"/> <area href="classOfxInvestmentTransactionContainer.html" title="Represents a bank or credid card transaction." alt="OfxInvestmentTransactionContainer" shape="rect" coords="222,112,434,136"/> </map> </div></div> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad43b43b1006be733490c4e25f8a41434"></a><!-- doxytag: member="OfxTransactionContainer::OfxTransactionContainer" ref="ad43b43b1006be733490c4e25f8a41434" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer, string para_tag_identifier)" -->  </td><td class="memItemRight" valign="bottom"><b>OfxTransactionContainer</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" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxTransactionContainer.html#aefafa4ee0b6745e46e40b5bcafb322e6">add_attribute</a> (const string identifier, const string value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add data to a container object. <a href="#aefafa4ee0b6745e46e40b5bcafb322e6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3228dd35282322803e75f9f9015422f"></a><!-- doxytag: member="OfxTransactionContainer::add_account" ref="ac3228dd35282322803e75f9f9015422f" args="(OfxAccountData *account_data)" --> void </td><td class="memItemRight" valign="bottom"><b>add_account</b> (<a class="el" href="structOfxAccountData.html">OfxAccountData</a> *account_data)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxTransactionContainer.html#a733ee231fef8e72248cd9ab78b169a99">gen_event</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Generate libofx.h events. <a href="#a733ee231fef8e72248cd9ab78b169a99"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxTransactionContainer.html#af3e7ffa3a55d3c0c67229c436875ed1d">add_to_main_tree</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add this container to the main tree. <a href="#af3e7ffa3a55d3c0c67229c436875ed1d"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a309aeafe456a5fd7adb1f94adbfc91a1"></a><!-- doxytag: member="OfxTransactionContainer::data" ref="a309aeafe456a5fd7adb1f94adbfc91a1" args="" --> <a class="el" href="structOfxTransactionData.html">OfxTransactionData</a> </td><td class="memItemRight" valign="bottom"><b>data</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Represents a generic transaction. </p> <p>Definition at line <a class="el" href="ofx__containers_8hh_source.html#l00201">201</a> of file <a class="el" href="ofx__containers_8hh_source.html">ofx_containers.hh</a>.</p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aefafa4ee0b6745e46e40b5bcafb322e6"></a><!-- doxytag: member="OfxTransactionContainer::add_attribute" ref="aefafa4ee0b6745e46e40b5bcafb322e6" args="(const string identifier, const string value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OfxTransactionContainer::add_attribute </td> <td>(</td> <td class="paramtype">const string </td> <td class="paramname"><em>identifier</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string </td> <td class="paramname"><em>value</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Add data to a container object. </p> <p>Must be called once completed parsing an OFX SGML data element. The parent container should know what to do with it. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">identifier</td><td>The name of the data element </td></tr> <tr><td class="paramname">value</td><td>The concatenated string of the data </td></tr> </table> </dd> </dl> <p>Reimplemented from <a class="el" href="classOfxGenericContainer.html#a6168716a931dc8e74bcb534fdadaf778">OfxGenericContainer</a>.</p> <p>Reimplemented in <a class="el" href="classOfxBankTransactionContainer.html#a9978c004a174afd5d013ca9806464d6d">OfxBankTransactionContainer</a>, and <a class="el" href="classOfxInvestmentTransactionContainer.html#a9122d7feb698cf423f92ec03aecb1e45">OfxInvestmentTransactionContainer</a>.</p> <p>Definition at line <a class="el" href="ofx__container__transaction_8cpp_source.html#l00097">97</a> of file <a class="el" href="ofx__container__transaction_8cpp_source.html">ofx_container_transaction.cpp</a>.</p> </div> </div> <a class="anchor" id="af3e7ffa3a55d3c0c67229c436875ed1d"></a><!-- doxytag: member="OfxTransactionContainer::add_to_main_tree" ref="af3e7ffa3a55d3c0c67229c436875ed1d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OfxTransactionContainer::add_to_main_tree </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Add this container to the main tree. </p> <p>add_to_main_treegen_event will add the container to the main trees stored int the <a class="el" href="classOfxMainContainer.html" title="The root container. Created by the <OFX> OFX element or by the export functions.">OfxMainContainer</a>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if successfull, false otherwise. </dd></dl> <p>Reimplemented from <a class="el" href="classOfxGenericContainer.html#ae9ddc283e5d9a2853d7e02b4d9584036">OfxGenericContainer</a>.</p> <p>Definition at line <a class="el" href="ofx__container__transaction_8cpp_source.html#l00083">83</a> of file <a class="el" href="ofx__container__transaction_8cpp_source.html">ofx_container_transaction.cpp</a>.</p> </div> </div> <a class="anchor" id="a733ee231fef8e72248cd9ab78b169a99"></a><!-- doxytag: member="OfxTransactionContainer::gen_event" ref="a733ee231fef8e72248cd9ab78b169a99" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OfxTransactionContainer::gen_event </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Generate libofx.h events. </p> <p>gen_event will call the appropriate ofx_proc_XXX_cb defined in libofx.h if one is available. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>true if a callback function vas called, false otherwise. </dd></dl> <p>Reimplemented from <a class="el" href="classOfxGenericContainer.html#aa8ffd0a68bcea4f0048b392af5078105">OfxGenericContainer</a>.</p> <p>Definition at line <a class="el" href="ofx__container__transaction_8cpp_source.html#l00069">69</a> of file <a class="el" href="ofx__container__transaction_8cpp_source.html">ofx_container_transaction.cpp</a>.</p> </div> </div> <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> <li><a class="el" href="ofx__container__transaction_8cpp_source.html">ofx_container_transaction.cpp</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classOfxTransactionContainer.html">OfxTransactionContainer</a> </li> <li class="footer">Generated on Wed Apr 17 2013 22:12:00 for LibOFX by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>