<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: dtn::SQLGlobalStore Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.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>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1SQLGlobalStore.html">SQLGlobalStore</a> </div> </div> <div class="contents"> <h1>dtn::SQLGlobalStore Class Reference</h1><!-- doxytag: class="dtn::SQLGlobalStore" --><!-- doxytag: inherits="dtn::GlobalStore" -->Implementation of <a class="el" href="classdtn_1_1GlobalStore.html" title="Class for those elements of the router that need to be persistently stored but are...">GlobalStore</a> that uses an underlying SQL database. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="SQLGlobalStore_8h-source.html">SQLGlobalStore.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dtn::SQLGlobalStore:</div> <div class="dynsection"> <p><center><img src="classdtn_1_1SQLGlobalStore.png" usemap="#dtn::SQLGlobalStore_map" border="0" alt=""></center> <map name="dtn::SQLGlobalStore_map"> <area href="classdtn_1_1GlobalStore.html" alt="dtn::GlobalStore" shape="rect" coords="0,0,126,24"> </map> </div> <p> <a href="classdtn_1_1SQLGlobalStore-members.html">List of all members.</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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1SQLGlobalStore.html#3d993d903681400f8eb5b0ff8da62a54">SQLGlobalStore</a> (oasys::SQLImplementation *impl)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#3d993d903681400f8eb5b0ff8da62a54"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1SQLGlobalStore.html#17567399f00840a24ef9412b925f0d26">~SQLGlobalStore</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#17567399f00840a24ef9412b925f0d26"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1SQLGlobalStore.html#c5279f8bebb70265eeabbca57b057b91">load</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Load in the values from the database. <a href="#c5279f8bebb70265eeabbca57b057b91"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1SQLGlobalStore.html#a10e303e55934b04399224b17e565182">update</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Update the values in the database. <a href="#a10e303e55934b04399224b17e565182"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classdtn_1_1SQLStore.html">SQLStore</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1SQLGlobalStore.html#d1d42c3837c0433f377640237b70f4cc">store_</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Implementation of <a class="el" href="classdtn_1_1GlobalStore.html" title="Class for those elements of the router that need to be persistently stored but are...">GlobalStore</a> that uses an underlying SQL database. <p>Definition at line <a class="el" href="SQLGlobalStore_8h-source.html#l00033">33</a> of file <a class="el" href="SQLGlobalStore_8h-source.html">SQLGlobalStore.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="3d993d903681400f8eb5b0ff8da62a54"></a><!-- doxytag: member="dtn::SQLGlobalStore::SQLGlobalStore" ref="3d993d903681400f8eb5b0ff8da62a54" args="(oasys::SQLImplementation *impl)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::SQLGlobalStore::SQLGlobalStore </td> <td>(</td> <td class="paramtype">oasys::SQLImplementation * </td> <td class="paramname"> <em>impl</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> </div> </div><p> <a class="anchor" name="17567399f00840a24ef9412b925f0d26"></a><!-- doxytag: member="dtn::SQLGlobalStore::~SQLGlobalStore" ref="17567399f00840a24ef9412b925f0d26" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual dtn::SQLGlobalStore::~SQLGlobalStore </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor. <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c5279f8bebb70265eeabbca57b057b91"></a><!-- doxytag: member="dtn::SQLGlobalStore::load" ref="c5279f8bebb70265eeabbca57b057b91" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::SQLGlobalStore::load </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Load in the values from the database. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1GlobalStore.html#f13b2a032c0320672940f4bff3b5c0d7">dtn::GlobalStore</a>.</p> </div> </div><p> <a class="anchor" name="a10e303e55934b04399224b17e565182"></a><!-- doxytag: member="dtn::SQLGlobalStore::update" ref="a10e303e55934b04399224b17e565182" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::SQLGlobalStore::update </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Update the values in the database. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1GlobalStore.html#a1ccd629fa2ff5f48068702895eaab7f">dtn::GlobalStore</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="d1d42c3837c0433f377640237b70f4cc"></a><!-- doxytag: member="dtn::SQLGlobalStore::store_" ref="d1d42c3837c0433f377640237b70f4cc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classdtn_1_1SQLStore.html">SQLStore</a>* <a class="el" href="classdtn_1_1SQLGlobalStore.html#d1d42c3837c0433f377640237b70f4cc">dtn::SQLGlobalStore::store_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="classdtn_1_1GlobalStore.html#b57f9969fa2b0bf21bf050d2be3db3bc">dtn::GlobalStore</a>.</p> <p>Definition at line <a class="el" href="SQLGlobalStore_8h-source.html#l00056">56</a> of file <a class="el" href="SQLGlobalStore_8h-source.html">SQLGlobalStore.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="SQLGlobalStore_8h-source.html">SQLGlobalStore.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:05 2009 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>