<!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="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 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> <div class="contents"> <h1>BundleCore.h File Reference</h1> <p> <code>#include "<a class="el" href="Alarm_8h-source.html">Alarm.h</a>"</code><br> <code>#include "<a class="el" href="servlib_2prophet_2Node_8h-source.html">Node.h</a>"</code><br> <code>#include "<a class="el" href="prophet_2Bundle_8h-source.html">Bundle.h</a>"</code><br> <code>#include "<a class="el" href="BundleImpl_8h-source.html">BundleImpl.h</a>"</code><br> <code>#include "<a class="el" href="prophet_2BundleList_8h-source.html">BundleList.h</a>"</code><br> <code>#include "<a class="el" href="prophet_2Link_8h-source.html">Link.h</a>"</code><br> <code>#include <stdarg.h></code><br> <code>#include <string></code><br> <code>#include <list></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>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprophet.html">prophet</a></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCore.html">prophet::BundleCore</a></td></tr> <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1AlarmImpl.html">prophet::AlarmImpl</a></td></tr> <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleCoreTestImpl.html">prophet::BundleCoreTestImpl</a></td></tr> <tr><td class="mdescLeft"> </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>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </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 </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 </td> <td class="paramname"> </td> <td> ) </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 </td> <td class="paramname"> </td> <td> ) </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 Mon Jul 21 14:09:47 2008 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.6 </small></address> </body> </html>