<!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: OfxSecurityContainer 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('classOfxSecurityContainer.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">OfxSecurityContainer Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="OfxSecurityContainer" --><!-- doxytag: inherits="OfxGenericContainer" --> <p>Represents a security, such as a stock or bond. <a href="classOfxSecurityContainer.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for OfxSecurityContainer:</div> <div class="dyncontent"> <div class="center"> <img src="classOfxSecurityContainer.png" usemap="#OfxSecurityContainer_map" alt=""/> <map id="OfxSecurityContainer_map" name="OfxSecurityContainer_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,134,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="a6463edacc95fc03733c0e7fb6776c15f"></a><!-- doxytag: member="OfxSecurityContainer::OfxSecurityContainer" ref="a6463edacc95fc03733c0e7fb6776c15f" args="(LibofxContext *p_libofx_context, OfxGenericContainer *para_parentcontainer, string para_tag_identifier)" -->  </td><td class="memItemRight" valign="bottom"><b>OfxSecurityContainer</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="classOfxSecurityContainer.html#a97f5d5e139d4cbba9790bedc06fa156e">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="#a97f5d5e139d4cbba9790bedc06fa156e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxSecurityContainer.html#a22357ade2036de78947ac0cc0ce01f2d">gen_event</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Generate libofx.h events. <a href="#a22357ade2036de78947ac0cc0ce01f2d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOfxSecurityContainer.html#acbaa6366a60d903ee3b3748c9874157f">add_to_main_tree</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add this container to the main tree. <a href="#acbaa6366a60d903ee3b3748c9874157f"></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="a43397c78bdf1a342ca566e7524d36f0d"></a><!-- doxytag: member="OfxSecurityContainer::data" ref="a43397c78bdf1a342ca566e7524d36f0d" args="" --> <a class="el" href="structOfxSecurityData.html">OfxSecurityData</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 security, such as a stock or bond. </p> <p>Definition at line <a class="el" href="ofx__containers_8hh_source.html#l00181">181</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="a97f5d5e139d4cbba9790bedc06fa156e"></a><!-- doxytag: member="OfxSecurityContainer::add_attribute" ref="a97f5d5e139d4cbba9790bedc06fa156e" args="(const string identifier, const string value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void OfxSecurityContainer::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__container__security_8cpp_source.html#l00045">45</a> of file <a class="el" href="ofx__container__security_8cpp_source.html">ofx_container_security.cpp</a>.</p> </div> </div> <a class="anchor" id="acbaa6366a60d903ee3b3748c9874157f"></a><!-- doxytag: member="OfxSecurityContainer::add_to_main_tree" ref="acbaa6366a60d903ee3b3748c9874157f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OfxSecurityContainer::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__security_8cpp_source.html#l00104">104</a> of file <a class="el" href="ofx__container__security_8cpp_source.html">ofx_container_security.cpp</a>.</p> </div> </div> <a class="anchor" id="a22357ade2036de78947ac0cc0ce01f2d"></a><!-- doxytag: member="OfxSecurityContainer::gen_event" ref="a22357ade2036de78947ac0cc0ce01f2d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int OfxSecurityContainer::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__security_8cpp_source.html#l00098">98</a> of file <a class="el" href="ofx__container__security_8cpp_source.html">ofx_container_security.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__security_8cpp_source.html">ofx_container_security.cpp</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classOfxSecurityContainer.html">OfxSecurityContainer</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>