Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 1282

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!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::ProphetNodeList 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&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1ProphetNodeList.html">ProphetNodeList</a>
  </div>
</div>
<div class="contents">
<h1>dtn::ProphetNodeList Class Reference</h1><!-- doxytag: class="dtn::ProphetNodeList" -->Maintain a one-to-one mapping of objects in memory to objects in permanent store, much like a write-thru cache.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>&gt;</code>
<p>

<p>
<a href="classdtn_1_1ProphetNodeList-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#e2e83fff7f23a878473a7871e4f3d0be">ProphetNodeList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#e2e83fff7f23a878473a7871e4f3d0be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#45d7de5e274e24f9085d9bcdca495627">~ProphetNodeList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#45d7de5e274e24f9085d9bcdca495627"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#afbd8e532b00c349d5a1027573f5e67b">load</a> (const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *n)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deserialize from storage.  <a href="#afbd8e532b00c349d5a1027573f5e67b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#4e137701492aabe741b4fcab1e0762ba">update</a> (const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *n)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update (or add new) node in permanent store.  <a href="#4e137701492aabe741b4fcab1e0762ba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#bc02c29e504d40da397a066842a5d63b">del</a> (const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *n)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove node from permanent store.  <a href="#bc02c29e504d40da397a066842a5d63b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#413a090a92022c78c1cc751bdb7b447d">find</a> (const std::string &amp;dest_id) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve node from permanent store; returns NULL if not found.  <a href="#413a090a92022c78c1cc751bdb7b447d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#641fd92c8528bad7a7d36a17d9dd875b">clone</a> (<a class="el" href="classprophet_1_1Table.html">prophet::Table</a> *nodes, const <a class="el" href="structprophet_1_1NodeParams.html">prophet::NodeParams</a> *params)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy list of nodes from permanent store into <a class="el" href="classprophet_1_1Table.html" title="Container for Prophet nodes (routes and predictability values).">prophet::Table</a>.  <a href="#641fd92c8528bad7a7d36a17d9dd875b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#2dad0fc20c9645013f92585c77e17b03">clear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clean up memory associated with this list (leaving permanent store untouched).  <a href="#2dad0fc20c9645013f92585c77e17b03"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#430cf348c0cb833f4455eee5e63e5d71">empty</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#430cf348c0cb833f4455eee5e63e5d71"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#a3f3b299fb388dce2883509255ac7906">size</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#a3f3b299fb388dce2883509255ac7906"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::list<br class="typebreak">
&lt; <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#1adeb9dcb3e64ab14e23b776f87eb2e1">List</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef List::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#06bb25a1b90b07056fe183fc33aa5a62">iterator</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef List::const_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#98d4293fa24675e91f8b08feef635a88">const_iterator</a></td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#cc4e4e5ee2ffa2989824ca8db80ab108">find</a> (const std::string &amp;dest_id, <a class="el" href="classdtn_1_1ProphetNodeList.html#06bb25a1b90b07056fe183fc33aa5a62">iterator</a> &amp;i)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given primary key, locate node in list.  <a href="#cc4e4e5ee2ffa2989824ca8db80ab108"></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_1ProphetNodeList.html#1adeb9dcb3e64ab14e23b776f87eb2e1">List</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetNodeList.html#6980210a7d6690d745dea9ed96bf2a44">list_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">collection of <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">prophet::Node</a>'s  <a href="#6980210a7d6690d745dea9ed96bf2a44"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Maintain a one-to-one mapping of objects in memory to objects in permanent store, much like a write-thru cache. 
<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00032">32</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="98d4293fa24675e91f8b08feef635a88"></a><!-- doxytag: member="dtn::ProphetNodeList::const_iterator" ref="98d4293fa24675e91f8b08feef635a88" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef List::const_iterator <a class="el" href="classdtn_1_1ProphetNodeList.html#98d4293fa24675e91f8b08feef635a88">dtn::ProphetNodeList::const_iterator</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00084">84</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="06bb25a1b90b07056fe183fc33aa5a62"></a><!-- doxytag: member="dtn::ProphetNodeList::iterator" ref="06bb25a1b90b07056fe183fc33aa5a62" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef List::iterator <a class="el" href="classdtn_1_1ProphetNodeList.html#06bb25a1b90b07056fe183fc33aa5a62">dtn::ProphetNodeList::iterator</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00083">83</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1adeb9dcb3e64ab14e23b776f87eb2e1"></a><!-- doxytag: member="dtn::ProphetNodeList::List" ref="1adeb9dcb3e64ab14e23b776f87eb2e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="classprophet_1_1Node.html">prophet::Node</a>*&gt; <a class="el" href="classdtn_1_1ProphetNodeList.html#1adeb9dcb3e64ab14e23b776f87eb2e1">dtn::ProphetNodeList::List</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00082">82</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e2e83fff7f23a878473a7871e4f3d0be"></a><!-- doxytag: member="dtn::ProphetNodeList::ProphetNodeList" ref="e2e83fff7f23a878473a7871e4f3d0be" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::ProphetNodeList::ProphetNodeList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00025">25</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="45d7de5e274e24f9085d9bcdca495627"></a><!-- doxytag: member="dtn::ProphetNodeList::~ProphetNodeList" ref="45d7de5e274e24f9085d9bcdca495627" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::ProphetNodeList::~ProphetNodeList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00029">29</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8cc-source.html#l00120">clear()</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2dad0fc20c9645013f92585c77e17b03"></a><!-- doxytag: member="dtn::ProphetNodeList::clear" ref="2dad0fc20c9645013f92585c77e17b03" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetNodeList::clear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clean up memory associated with this list (leaving permanent store untouched). 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00120">120</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8h-source.html#l00141">dtn::ProphetBundleCore::shutdown()</a>, and <a class="el" href="ProphetNodeList_8cc-source.html#l00029">~ProphetNodeList()</a>.</p>

</div>
</div><p>
<a class="anchor" name="641fd92c8528bad7a7d36a17d9dd875b"></a><!-- doxytag: member="dtn::ProphetNodeList::clone" ref="641fd92c8528bad7a7d36a17d9dd875b" args="(prophet::Table *nodes, const prophet::NodeParams *params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetNodeList::clone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1Table.html">prophet::Table</a> *&nbsp;</td>
          <td class="paramname"> <em>nodes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structprophet_1_1NodeParams.html">prophet::NodeParams</a> *&nbsp;</td>
          <td class="paramname"> <em>params</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy list of nodes from permanent store into <a class="el" href="classprophet_1_1Table.html" title="Container for Prophet nodes (routes and predictability values).">prophet::Table</a>. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00110">110</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="Table_8cc-source.html#l00383">prophet::Table::assign()</a>, and <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00314">dtn::ProphetBundleCore::load_prophet_nodes()</a>.</p>

</div>
</div><p>
<a class="anchor" name="bc02c29e504d40da397a066842a5d63b"></a><!-- doxytag: member="dtn::ProphetNodeList::del" ref="bc02c29e504d40da397a066842a5d63b" args="(const prophet::Node *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetNodeList::del           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove node from permanent store. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00084">84</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00114">prophet::Node::dest_id()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00099">find()</a>, and <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00357">dtn::ProphetBundleCore::delete_node()</a>.</p>

</div>
</div><p>
<a class="anchor" name="430cf348c0cb833f4455eee5e63e5d71"></a><!-- doxytag: member="dtn::ProphetNodeList::empty" ref="430cf348c0cb833f4455eee5e63e5d71" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::ProphetNodeList::empty           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessors. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00077">77</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00314">dtn::ProphetBundleCore::load_prophet_nodes()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cc4e4e5ee2ffa2989824ca8db80ab108"></a><!-- doxytag: member="dtn::ProphetNodeList::find" ref="cc4e4e5ee2ffa2989824ca8db80ab108" args="(const std::string &amp;dest_id, iterator &amp;i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::ProphetNodeList::find           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dest_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdtn_1_1ProphetNodeList.html#06bb25a1b90b07056fe183fc33aa5a62">iterator</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given primary key, locate node in list. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00130">130</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="413a090a92022c78c1cc751bdb7b447d"></a><!-- doxytag: member="dtn::ProphetNodeList::find" ref="413a090a92022c78c1cc751bdb7b447d" args="(const std::string &amp;dest_id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> * dtn::ProphetNodeList::find           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dest_id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve node from permanent store; returns NULL if not found. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00099">99</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8cc-source.html#l00099">find()</a>.</p>

<p>Referenced by <a class="el" href="ProphetNodeList_8cc-source.html#l00084">del()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00099">find()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00035">load()</a>, and <a class="el" href="ProphetNodeList_8cc-source.html#l00057">update()</a>.</p>

</div>
</div><p>
<a class="anchor" name="afbd8e532b00c349d5a1027573f5e67b"></a><!-- doxytag: member="dtn::ProphetNodeList::load" ref="afbd8e532b00c349d5a1027573f5e67b" args="(const prophet::Node *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetNodeList::load           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deserialize from storage. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00035">35</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00115">prophet::Node::age()</a>, <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00112">prophet::Node::custody()</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00114">prophet::Node::dest_id()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00099">find()</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00113">prophet::Node::internet_gw()</a>, <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00110">prophet::Node::p_value()</a>, and <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00111">prophet::Node::relay()</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00314">dtn::ProphetBundleCore::load_prophet_nodes()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a3f3b299fb388dce2883509255ac7906"></a><!-- doxytag: member="dtn::ProphetNodeList::size" ref="a3f3b299fb388dce2883509255ac7906" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t dtn::ProphetNodeList::size           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessors. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00078">78</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

<p>References <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="4e137701492aabe741b4fcab1e0762ba"></a><!-- doxytag: member="dtn::ProphetNodeList::update" ref="4e137701492aabe741b4fcab1e0762ba" args="(const prophet::Node *n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetNodeList::update           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Node.html">prophet::Node</a> *&nbsp;</td>
          <td class="paramname"> <em>n</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update (or add new) node in permanent store. 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8cc-source.html#l00057">57</a> of file <a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</a>.</p>

<p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00114">prophet::Node::dest_id()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00099">find()</a>, <a class="el" href="ProphetNodeList_8h-source.html#l00091">list_</a>, and <a class="el" href="servlib_2prophet_2Node_8h-source.html#l00110">prophet::Node::p_value()</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00350">dtn::ProphetBundleCore::update_node()</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="6980210a7d6690d745dea9ed96bf2a44"></a><!-- doxytag: member="dtn::ProphetNodeList::list_" ref="6980210a7d6690d745dea9ed96bf2a44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdtn_1_1ProphetNodeList.html#1adeb9dcb3e64ab14e23b776f87eb2e1">List</a> <a class="el" href="classdtn_1_1ProphetNodeList.html#6980210a7d6690d745dea9ed96bf2a44">dtn::ProphetNodeList::list_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
collection of <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">prophet::Node</a>'s 
<p>

<p>Definition at line <a class="el" href="ProphetNodeList_8h-source.html#l00091">91</a> of file <a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetNodeList_8cc-source.html#l00120">clear()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00110">clone()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00084">del()</a>, <a class="el" href="ProphetNodeList_8h-source.html#l00077">empty()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00130">find()</a>, <a class="el" href="ProphetNodeList_8cc-source.html#l00035">load()</a>, <a class="el" href="ProphetNodeList_8h-source.html#l00078">size()</a>, and <a class="el" href="ProphetNodeList_8cc-source.html#l00057">update()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ProphetNodeList_8h-source.html">ProphetNodeList.h</a><li><a class="el" href="ProphetNodeList_8cc-source.html">ProphetNodeList.cc</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&nbsp;
<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>