<!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::LinkBlockSet::Entry Struct 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 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_1LinkBlockSet.html">LinkBlockSet</a>::<a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html">Entry</a> </div> </div> <div class="contents"> <h1>dtn::LinkBlockSet::Entry Struct Reference</h1><!-- doxytag: class="dtn::LinkBlockSet::Entry" --><code>#include <<a class="el" href="BlockInfo_8h-source.html">BlockInfo.h</a>></code> <p> <p> <a href="structdtn_1_1LinkBlockSet_1_1Entry-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Struct to hold a block list and a link pointer. <p> Note that we allow the STL vector to copy the pointers to both the block list and the link pointer. This is safe because the lifetime of the <a class="el" href="classdtn_1_1BlockInfoVec.html" title="Class for a vector of BlockInfo structures.">BlockInfoVec</a> object is defined by <a class="el" href="classdtn_1_1LinkBlockSet.html#7fd0f75b4caa20c373c532cc8256e86c" title="Create a new BlockInfoVec for the given link.">create_blocks()</a> and <a class="el" href="classdtn_1_1LinkBlockSet.html#8657b919c8356da3736c8ced6a740d30" title="Remove the BlockInfoVec for the given link.">delete_blocks()</a>. <p>Definition at line <a class="el" href="BlockInfo_8h-source.html#l00237">237</a> of file <a class="el" href="BlockInfo_8h-source.html">BlockInfo.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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html#c98ffe8fdc4a59614d59300e6aaa8ae8">Entry</a> (const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link)</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html#63af5eb5643fd5340b693d4b2d7ce827">blocks_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html#1eec0507ac6f89112da2cd0b0435e590">link_</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="c98ffe8fdc4a59614d59300e6aaa8ae8"></a><!-- doxytag: member="dtn::LinkBlockSet::Entry::Entry" ref="c98ffe8fdc4a59614d59300e6aaa8ae8" args="(const LinkRef &link)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::LinkBlockSet::Entry::Entry </td> <td>(</td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BlockInfo_8cc-source.html#l00216">216</a> of file <a class="el" href="BlockInfo_8cc-source.html">BlockInfo.cc</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="63af5eb5643fd5340b693d4b2d7ce827"></a><!-- doxytag: member="dtn::LinkBlockSet::Entry::blocks_" ref="63af5eb5643fd5340b693d4b2d7ce827" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a>* <a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html#63af5eb5643fd5340b693d4b2d7ce827">dtn::LinkBlockSet::Entry::blocks_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BlockInfo_8h-source.html#l00240">240</a> of file <a class="el" href="BlockInfo_8h-source.html">BlockInfo.h</a>.</p> </div> </div><p> <a class="anchor" name="1eec0507ac6f89112da2cd0b0435e590"></a><!-- doxytag: member="dtn::LinkBlockSet::Entry::link_" ref="1eec0507ac6f89112da2cd0b0435e590" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> <a class="el" href="structdtn_1_1LinkBlockSet_1_1Entry.html#1eec0507ac6f89112da2cd0b0435e590">dtn::LinkBlockSet::Entry::link_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="BlockInfo_8h-source.html#l00241">241</a> of file <a class="el" href="BlockInfo_8h-source.html">BlockInfo.h</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following files:<ul> <li><a class="el" href="BlockInfo_8h-source.html">BlockInfo.h</a><li><a class="el" href="BlockInfo_8cc-source.html">BlockInfo.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:50 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>