Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > d9faa203c2b0b6fbb179d93daaea81b7 > files > 1271

libdtn-devel-2.6.0-1mdv2009.0.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::ProphetBundleList Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<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_1ProphetBundleList.html">ProphetBundleList</a>
  </div>
</div>
<div class="contents">
<h1>dtn::ProphetBundleList Class Reference</h1><!-- doxytag: class="dtn::ProphetBundleList" --><code>#include &lt;<a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>&gt;</code>
<p>

<p>
<a href="classdtn_1_1ProphetBundleList-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Maintain mapping between <a class="el" href="classdtn_1_1Bundle.html" title="The internal representation of a bundle.">dtn::Bundle</a> and <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">prophet::Bundle</a>. 
<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00032">32</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>
<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_1ProphetBundleList.html#a1f03d3edf7a36b42e681e5871e6584f">ProphetBundleList</a> (<a class="el" href="classprophet_1_1Repository_1_1BundleCoreRep.html">prophet::Repository::BundleCoreRep</a> *core)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#a1f03d3edf7a36b42e681e5871e6584f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#4feecb35ac50989491b04f8128c5805d">~ProphetBundleList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#4feecb35ac50989491b04f8128c5805d"></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_1ProphetBundleList.html#726b948b41a5e24b7f2f18689dd1b107">add</a> (const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add mapping for <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a> to list.  <a href="#726b948b41a5e24b7f2f18689dd1b107"></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_1ProphetBundleList.html#2bcc467a69db02507fd03596b135e0a5">add</a> (const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *b)</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_1ProphetBundleList.html#b705f40015a645a80f402cca6299f455">del</a> (const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove mapping for <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a> from list.  <a href="#b705f40015a645a80f402cca6299f455"></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_1ProphetBundleList.html#fa90103559f89d4def5b50dee07d49ca">del</a> (const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#196550ca5bcb79b25eee907682c66dff">find</a> (const std::string &amp;dst, u_int creation_ts, u_int seqno) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given destination ID and creation ts, return <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">prophet::Bundle</a>*.  <a href="#196550ca5bcb79b25eee907682c66dff"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#e8d3cf34bdcab3aa33d5ee408ac4dc1e">find</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *b) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#07853b9e4a046a0503ad68d28d44f330">find_ref</a> (const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *b) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given a <a class="el" href="namespaceprophet.html">prophet</a> object, return <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a>&amp;.  <a href="#07853b9e4a046a0503ad68d28d44f330"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1BundleList.html">prophet::BundleList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#4898bcaa24d1c8c6615c9cac5f5c77c6">get_bundles</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a const reference to <a class="el" href="classdtn_1_1BundleList.html" title="List structure for handling bundles.">BundleList</a>, in no guaranteed order.  <a href="#4898bcaa24d1c8c6615c9cac5f5c77c6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1Repository.html">prophet::Repository</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#316344f5238c181e24cf16b9e211d997">bundles</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expose pointer to <a class="el" href="classdtn_1_1Bundle.html" title="The internal representation of a bundle.">Bundle</a> repository.  <a href="#316344f5238c181e24cf16b9e211d997"></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_1ProphetBundleList.html#2b4739ca3d5359c9937384ccc551bfcc">clear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Drop all <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">prophet::Bundle</a>*'s from list.  <a href="#2b4739ca3d5359c9937384ccc551bfcc"></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_1ProphetBundleList.html#0cb789bd562681ff9370440e11995c4e">empty</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#0cb789bd562681ff9370440e11995c4e"></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_1ProphetBundleList.html#a1d5bbb236fba25910bd0c89b68c30d4">size</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#a1d5bbb236fba25910bd0c89b68c30d4"></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 <br>
prophet::BundleList::const_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#5396313837c1ac4ec7b167e72f3bb021">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_1ProphetBundleList.html#ba5df7e072d627a9bba6f070a59ee9c7">find</a> (const std::string &amp;dst, u_int creation_ts, u_int seqno, <a class="el" href="classdtn_1_1ProphetBundleList.html#5396313837c1ac4ec7b167e72f3bb021">const_iterator</a> &amp;i) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility function for internal find.  <a href="#ba5df7e072d627a9bba6f070a59ee9c7"></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="classprophet_1_1Repository.html">prophet::Repository</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#afaf34b35417829fa77955e0e5411730">list_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">collection of ProphetBundle's  <a href="#afaf34b35417829fa77955e0e5411730"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ProphetBundleList.html#dddcafe94a1c15642c5ba0ed7477e39e">NULL_BUNDLE</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointer to NULL  <a href="#dddcafe94a1c15642c5ba0ed7477e39e"></a><br></td></tr>
</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="5396313837c1ac4ec7b167e72f3bb021"></a><!-- doxytag: member="dtn::ProphetBundleList::const_iterator" ref="5396313837c1ac4ec7b167e72f3bb021" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef prophet::BundleList::const_iterator <a class="el" href="classdtn_1_1ProphetBundleList.html#5396313837c1ac4ec7b167e72f3bb021">dtn::ProphetBundleList::const_iterator</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00100">100</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a1f03d3edf7a36b42e681e5871e6584f"></a><!-- doxytag: member="dtn::ProphetBundleList::ProphetBundleList" ref="a1f03d3edf7a36b42e681e5871e6584f" args="(prophet::Repository::BundleCoreRep *core)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::ProphetBundleList::ProphetBundleList           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1Repository_1_1BundleCoreRep.html">prophet::Repository::BundleCoreRep</a> *&nbsp;</td>
          <td class="paramname"> <em>core</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00028">28</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4feecb35ac50989491b04f8128c5805d"></a><!-- doxytag: member="dtn::ProphetBundleList::~ProphetBundleList" ref="4feecb35ac50989491b04f8128c5805d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::ProphetBundleList::~ProphetBundleList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00031">31</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

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

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="726b948b41a5e24b7f2f18689dd1b107"></a><!-- doxytag: member="dtn::ProphetBundleList::add" ref="726b948b41a5e24b7f2f18689dd1b107" args="(const BundleRef &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetBundleList::add           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add mapping for <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a> to list. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00037">37</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="Repository_8cc-source.html#l00079">prophet::Repository::add()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00468">dtn::ProphetBundleCore::add()</a>, and <a class="el" href="ProphetRouter_8cc-source.html#l00171">dtn::ProphetRouter::handle_bundle_received()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2bcc467a69db02507fd03596b135e0a5"></a><!-- doxytag: member="dtn::ProphetBundleList::add" ref="2bcc467a69db02507fd03596b135e0a5" args="(const prophet::Bundle *b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetBundleList::add           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00045">45</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="Repository_8cc-source.html#l00079">prophet::Repository::add()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="b705f40015a645a80f402cca6299f455"></a><!-- doxytag: member="dtn::ProphetBundleList::del" ref="b705f40015a645a80f402cca6299f455" args="(const BundleRef &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetBundleList::del           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove mapping for <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a> from list. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00055">55</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="Repository_8cc-source.html#l00051">prophet::Repository::del()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00077">find()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00475">dtn::ProphetBundleCore::del()</a>, and <a class="el" href="ProphetBundleCore_8cc-source.html#l00158">dtn::ProphetBundleCore::drop_bundle()</a>.</p>

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

<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00069">69</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="Repository_8cc-source.html#l00051">prophet::Repository::del()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="196550ca5bcb79b25eee907682c66dff"></a><!-- doxytag: member="dtn::ProphetBundleList::find" ref="196550ca5bcb79b25eee907682c66dff" args="(const std::string &amp;dst, u_int creation_ts, u_int seqno) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> * dtn::ProphetBundleList::find           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int&nbsp;</td>
          <td class="paramname"> <em>creation_ts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int&nbsp;</td>
          <td class="paramname"> <em>seqno</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given destination ID and creation ts, return <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">prophet::Bundle</a>*. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00077">77</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleList_8cc-source.html#l00055">del()</a>, <a class="el" href="ProphetBundleList_8h-source.html#l00064">find()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00088">find_ref()</a>, and <a class="el" href="ProphetBundleCore_8cc-source.html#l00433">dtn::ProphetBundleCore::get_bundle()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e8d3cf34bdcab3aa33d5ee408ac4dc1e"></a><!-- doxytag: member="dtn::ProphetBundleList::find" ref="e8d3cf34bdcab3aa33d5ee408ac4dc1e" args="(const Bundle *b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a>* dtn::ProphetBundleList::find           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00064">64</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>References <a class="el" href="bundling_2Bundle_8h-source.html#l00234">dtn::Bundle::creation_ts()</a>, <a class="el" href="bundling_2Bundle_8h-source.html#l00205">dtn::Bundle::dest()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00077">find()</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00031">dtn::BundleTimestamp::seconds_</a>, <a class="el" href="BundleTimestamp_8h-source.html#l00032">dtn::BundleTimestamp::seqno_</a>, and <a class="el" href="EndpointID_8h-source.html#l00258">dtn::EndpointID::str()</a>.</p>

</div>
</div><p>
<a class="anchor" name="07853b9e4a046a0503ad68d28d44f330"></a><!-- doxytag: member="dtn::ProphetBundleList::find_ref" ref="07853b9e4a046a0503ad68d28d44f330" args="(const prophet::Bundle *b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> &amp; dtn::ProphetBundleList::find_ref           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">prophet::Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given a <a class="el" href="namespaceprophet.html">prophet</a> object, return <a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1" title="Class definition for a Bundle reference.">dtn::BundleRef</a>&amp;. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00088">88</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="classprophet_1_1Bundle.html#df5ff9aa8aba7ddd7a741d6143fe3d88">prophet::Bundle::creation_ts()</a>, <a class="el" href="classprophet_1_1Bundle.html#81f0a95589809a157829bacb4d3c5989">prophet::Bundle::destination_id()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00077">find()</a>, <a class="el" href="ProphetBundleList_8h-source.html#l00108">NULL_BUNDLE</a>, and <a class="el" href="classprophet_1_1Bundle.html#8f4fad2c83696237207ba7a19acb9ca4">prophet::Bundle::sequence_num()</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8cc-source.html#l00423">dtn::ProphetBundleCore::get_bundle()</a>, and <a class="el" href="ProphetBundleCore_8cc-source.html#l00081">dtn::ProphetBundleCore::should_fwd()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4898bcaa24d1c8c6615c9cac5f5c77c6"></a><!-- doxytag: member="dtn::ProphetBundleList::get_bundles" ref="4898bcaa24d1c8c6615c9cac5f5c77c6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1BundleList.html">prophet::BundleList</a>&amp; dtn::ProphetBundleList::get_bundles           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a const reference to <a class="el" href="classdtn_1_1BundleList.html" title="List structure for handling bundles.">BundleList</a>, in no guaranteed order. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00079">79</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>References <a class="el" href="Repository_8h-source.html#l00124">prophet::Repository::get_bundles()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleCore_8h-source.html#l00092">dtn::ProphetBundleCore::bundles()</a>.</p>

</div>
</div><p>
<a class="anchor" name="316344f5238c181e24cf16b9e211d997"></a><!-- doxytag: member="dtn::ProphetBundleList::bundles" ref="316344f5238c181e24cf16b9e211d997" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1Repository.html">prophet::Repository</a>* dtn::ProphetBundleList::bundles           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Expose pointer to <a class="el" href="classdtn_1_1Bundle.html" title="The internal representation of a bundle.">Bundle</a> repository. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00087">87</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

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

<p>Referenced by <a class="el" href="ProphetBundleCore_8h-source.html#l00167">dtn::ProphetBundleCore::bundles()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2b4739ca3d5359c9937384ccc551bfcc"></a><!-- doxytag: member="dtn::ProphetBundleList::clear" ref="2b4739ca3d5359c9937384ccc551bfcc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ProphetBundleList::clear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Drop all <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">prophet::Bundle</a>*'s from list. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00102">102</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="Repository_8cc-source.html#l00051">prophet::Repository::del()</a>, <a class="el" href="Repository_8h-source.html#l00129">prophet::Repository::empty()</a>, <a class="el" href="BundleList_8cc-source.html#l00066">dtn::BundleList::front()</a>, <a class="el" href="Repository_8h-source.html#l00124">prophet::Repository::get_bundles()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

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

</div>
</div><p>
<a class="anchor" name="0cb789bd562681ff9370440e11995c4e"></a><!-- doxytag: member="dtn::ProphetBundleList::empty" ref="0cb789bd562681ff9370440e11995c4e" 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::ProphetBundleList::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="ProphetBundleList_8h-source.html#l00095">95</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>References <a class="el" href="Repository_8h-source.html#l00129">prophet::Repository::empty()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="a1d5bbb236fba25910bd0c89b68c30d4"></a><!-- doxytag: member="dtn::ProphetBundleList::size" ref="a1d5bbb236fba25910bd0c89b68c30d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t dtn::ProphetBundleList::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="ProphetBundleList_8h-source.html#l00096">96</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>References <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>, and <a class="el" href="Repository_8h-source.html#l00134">prophet::Repository::size()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ba5df7e072d627a9bba6f070a59ee9c7"></a><!-- doxytag: member="dtn::ProphetBundleList::find" ref="ba5df7e072d627a9bba6f070a59ee9c7" args="(const std::string &amp;dst, u_int creation_ts, u_int seqno, const_iterator &amp;i) 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::ProphetBundleList::find           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int&nbsp;</td>
          <td class="paramname"> <em>creation_ts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int&nbsp;</td>
          <td class="paramname"> <em>seqno</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdtn_1_1ProphetBundleList.html#5396313837c1ac4ec7b167e72f3bb021">const_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> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Utility function for internal find. 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8cc-source.html#l00115">115</a> of file <a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a>.</p>

<p>References <a class="el" href="BundleList_8cc-source.html#l00475">dtn::BundleList::begin()</a>, <a class="el" href="BundleList_8cc-source.html#l00488">dtn::BundleList::end()</a>, <a class="el" href="Repository_8h-source.html#l00124">prophet::Repository::get_bundles()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00107">list_</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="afaf34b35417829fa77955e0e5411730"></a><!-- doxytag: member="dtn::ProphetBundleList::list_" ref="afaf34b35417829fa77955e0e5411730" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1Repository.html">prophet::Repository</a> <a class="el" href="classdtn_1_1ProphetBundleList.html#afaf34b35417829fa77955e0e5411730">dtn::ProphetBundleList::list_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
collection of ProphetBundle's 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00107">107</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleList_8cc-source.html#l00037">add()</a>, <a class="el" href="ProphetBundleList_8h-source.html#l00087">bundles()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00102">clear()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00055">del()</a>, <a class="el" href="ProphetBundleList_8h-source.html#l00095">empty()</a>, <a class="el" href="ProphetBundleList_8cc-source.html#l00115">find()</a>, <a class="el" href="ProphetBundleList_8h-source.html#l00079">get_bundles()</a>, and <a class="el" href="ProphetBundleList_8h-source.html#l00096">size()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dddcafe94a1c15642c5ba0ed7477e39e"></a><!-- doxytag: member="dtn::ProphetBundleList::NULL_BUNDLE" ref="dddcafe94a1c15642c5ba0ed7477e39e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> <a class="el" href="classdtn_1_1ProphetBundleList.html#dddcafe94a1c15642c5ba0ed7477e39e">dtn::ProphetBundleList::NULL_BUNDLE</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
pointer to NULL 
<p>

<p>Definition at line <a class="el" href="ProphetBundleList_8h-source.html#l00108">108</a> of file <a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetBundleList_8cc-source.html#l00088">find_ref()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ProphetBundleList_8h-source.html">ProphetBundleList.h</a><li><a class="el" href="ProphetBundleList_8cc-source.html">ProphetBundleList.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:54 2008 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.6 </small></address>
</body>
</html>