Sophie

Sophie

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

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: BundleCore.h File 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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>BundleCore.h File Reference</h1><code>#include &quot;<a class="el" href="Alarm_8h-source.html">Alarm.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="servlib_2prophet_2Node_8h-source.html">Node.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="prophet_2Bundle_8h-source.html">Bundle.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="BundleImpl_8h-source.html">BundleImpl.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="prophet_2BundleList_8h-source.html">BundleList.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="prophet_2Link_8h-source.html">Link.h</a>&quot;</code><br>
<code>#include &lt;stdarg.h&gt;</code><br>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;list&gt;</code><br>

<p>
<a href="BundleCore_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCore.html">prophet::BundleCore</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prophet facade's abstract interface into DTN host's bundle core.  <a href="classprophet_1_1BundleCore.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1AlarmImpl.html">prophet::AlarmImpl</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mock object for use in testing.  <a href="classprophet_1_1AlarmImpl.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html">prophet::BundleCoreTestImpl</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mock object for use in unit testing; this doesn't really do anything other than capture state for inspection by unit tests.  <a href="classprophet_1_1BundleCoreTestImpl.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprophet.html">prophet</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="BundleCore_8h.html#f2200d91c2af569b1e7c99405045640e">PRINTFLIKE</a>(a, b)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="BundleCore_8h.html#869ca666cb685078655755b4adf82776">PROPHESY</a>(_str)</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="f2200d91c2af569b1e7c99405045640e"></a><!-- doxytag: member="BundleCore.h::PRINTFLIKE" ref="f2200d91c2af569b1e7c99405045640e" args="(a, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRINTFLIKE          </td>
          <td>(</td>
          <td class="paramtype">a,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">b&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00034">34</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="869ca666cb685078655755b4adf82776"></a><!-- doxytag: member="BundleCore.h::PROPHESY" ref="869ca666cb685078655755b4adf82776" args="(_str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PROPHESY          </td>
          <td>(</td>
          <td class="paramtype">_str&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> { \
        <span class="keywordtype">size_t</span> pos = _str.size() - 1; \
        <span class="keywordflow">if</span> (_str[pos] == <span class="charliteral">'/'</span>) \
            _str += <span class="stringliteral">"prophet"</span>; \
        <span class="keywordflow">else</span> \
            _str += <span class="stringliteral">"/prophet"</span>; \
    } <span class="keywordflow">while</span> (0)
</pre></div>
<p>Definition at line <a class="el" href="BundleCore_8h-source.html#l00299">299</a> of file <a class="el" href="BundleCore_8h-source.html">BundleCore.h</a>.</p>

<p>Referenced by <a class="el" href="BundleCore_8h-source.html#l00306">prophet::BundleCoreTestImpl::prophet_id()</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:26:59 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>