<!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: prophet::TLVFactory< TLV > Struct Template 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="namespaceprophet.html">prophet</a>::<a class="el" href="structprophet_1_1TLVFactory.html">TLVFactory</a> </div> </div> <div class="contents"> <h1>prophet::TLVFactory< TLV > Struct Template Reference</h1><!-- doxytag: class="prophet::TLVFactory" --><code>#include <<a class="el" href="BaseTLV_8h-source.html">BaseTLV.h</a>></code> <p> <p> <a href="structprophet_1_1TLVFactory-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class TLV><br> struct prophet::TLVFactory< TLV ></h3> <p>Definition at line <a class="el" href="BaseTLV_8h-source.html#l00029">29</a> of file <a class="el" href="BaseTLV_8h-source.html">BaseTLV.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static TLV * </td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1TLVFactory.html#8d7db1b16d96f90c5a186698536f9f0c">deserialize</a> (const u_char *bp, size_t len)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Factory method for deserializing over-the-wire TLV into in-memory class representation. <a href="#8d7db1b16d96f90c5a186698536f9f0c"></a><br></td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="8d7db1b16d96f90c5a186698536f9f0c"></a><!-- doxytag: member="prophet::TLVFactory::deserialize" ref="8d7db1b16d96f90c5a186698536f9f0c" args="(const u_char *bp, size_t len)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TLV> </div> <table class="memname"> <tr> <td class="memname">static TLV* <a class="el" href="structprophet_1_1TLVFactory.html">prophet::TLVFactory</a>< TLV >::deserialize </td> <td>(</td> <td class="paramtype">const u_char * </td> <td class="paramname"> <em>bp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Factory method for deserializing over-the-wire TLV into in-memory class representation. <p> <p>Definition at line <a class="el" href="BaseTLV_8h-source.html#l00035">35</a> of file <a class="el" href="BaseTLV_8h-source.html">BaseTLV.h</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="BaseTLV_8h-source.html">BaseTLV.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:55 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>