<!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: OfxBalanceContainer 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('classOfxBalanceContainer.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">OfxBalanceContainer Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="OfxBalanceContainer" --><!-- doxytag: inherits="OfxGenericContainer" --> <p>Represents the <BALANCE> OFX SGML entity. <a href="classOfxBalanceContainer.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for OfxBalanceContainer:</div> <div class="dyncontent"> <div class="center"> <img src="classOfxBalanceContainer.png" usemap="#OfxBalanceContainer_map" alt=""/> <map id="OfxBalanceContainer_map" name="OfxBalanceContainer_map"> <area href="classOfxGenericContainer.html" title="A generic container for an OFX SGML element. Every container inherits from OfxGenericContainer." alt="OfxGenericContainer" shape="rect" coords="0,0,133,24"/> </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="a96baefa68988c2d9c2f46f553d40599f"></a><!-- doxytag: member="OfxBalanceContainer::OfxBalanceContainer" ref="a96baefa68988c2d9c2f46f553d40599f" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer, string para_tag_identifier)" -->  </td><td class="memItemRight" valign="bottom"><b>OfxBalanceContainer</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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxBalanceContainer.html#a85951ca6d29aeace59a9ca86453e8abb">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="#a85951ca6d29aeace59a9ca86453e8abb"></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">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxBalanceContainer.html#afff1080e7dc3a6f6e09f1c0d9c1dc68f">amount</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ec139f87dfed172199cae86c4441c34"></a><!-- doxytag: member="OfxBalanceContainer::amount_valid" ref="a8ec139f87dfed172199cae86c4441c34" args="" --> int </td><td class="memItemRight" valign="bottom"><b>amount_valid</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxBalanceContainer.html#a63069560ec9ee3524688452b00f0a39d">date</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63784a0db798c12aede0e3ff54888916"></a><!-- doxytag: member="OfxBalanceContainer::date_valid" ref="a63784a0db798c12aede0e3ff54888916" args="" --> int </td><td class="memItemRight" valign="bottom"><b>date_valid</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Represents the <BALANCE> OFX SGML entity. </p> <p><a class="el" href="classOfxBalanceContainer.html" title="Represents the <BALANCE> OFX SGML entity.">OfxBalanceContainer</a> is an auxiliary container (there is no matching data object in libofx.h) </p> <p>Definition at line <a class="el" href="ofx__containers_8hh_source.html#l00110">110</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="a85951ca6d29aeace59a9ca86453e8abb"></a><!-- doxytag: member="OfxBalanceContainer::add_attribute" ref="a85951ca6d29aeace59a9ca86453e8abb" args="(const string identifier, const string value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OfxBalanceContainer::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>Definition at line <a class="el" href="ofx__containers__misc_8cpp_source.html#l00165">165</a> of file <a class="el" href="ofx__containers__misc_8cpp_source.html">ofx_containers_misc.cpp</a>.</p> </div> </div> <hr/><h2>Field Documentation</h2> <a class="anchor" id="afff1080e7dc3a6f6e09f1c0d9c1dc68f"></a><!-- doxytag: member="OfxBalanceContainer::amount" ref="afff1080e7dc3a6f6e09f1c0d9c1dc68f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double <a class="el" href="classOfxBalanceContainer.html#afff1080e7dc3a6f6e09f1c0d9c1dc68f">OfxBalanceContainer::amount</a></td> </tr> </table> </div> <div class="memdoc"> <p>Interpretation depends on balance_type </p> <p>Definition at line <a class="el" href="ofx__containers_8hh_source.html#l00117">117</a> of file <a class="el" href="ofx__containers_8hh_source.html">ofx_containers.hh</a>.</p> <p>Referenced by <a class="el" href="ofx__containers__misc_8cpp_source.html#l00165">add_attribute()</a>.</p> </div> </div> <a class="anchor" id="a63069560ec9ee3524688452b00f0a39d"></a><!-- doxytag: member="OfxBalanceContainer::date" ref="a63069560ec9ee3524688452b00f0a39d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">time_t <a class="el" href="classOfxBalanceContainer.html#a63069560ec9ee3524688452b00f0a39d">OfxBalanceContainer::date</a></td> </tr> </table> </div> <div class="memdoc"> <p>Effective date of the given balance </p> <p>Definition at line <a class="el" href="ofx__containers_8hh_source.html#l00119">119</a> of file <a class="el" href="ofx__containers_8hh_source.html">ofx_containers.hh</a>.</p> <p>Referenced by <a class="el" href="ofx__containers__misc_8cpp_source.html#l00165">add_attribute()</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__containers__misc_8cpp_source.html">ofx_containers_misc.cpp</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classOfxBalanceContainer.html">OfxBalanceContainer</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>