aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03909.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03909.html309
1 files changed, 309 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03909.html b/docs/doxygen/nel/a03909.html
new file mode 100644
index 00000000..b8c481a8
--- /dev/null
+++ b/docs/doxygen/nel/a03909.html
@@ -0,0 +1,309 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLNET::TMessageRecord struct Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLNET::TMessageRecord Struct Reference</h1><code>#include &lt;<a class="el" href="a06029.html">message_recorder.h</a>&gt;</code>
+<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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecorda0">serial</a> (<a class="el" href="a02271.html">NLMISC::CMemStream</a> &amp;stream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Serial to string stream. <a href="#NLNET_1_1TMessageRecorda0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecorda1">TMessageRecord</a> (<a class="el" href="a05379.html#a225">TNetworkEvent</a> event, <a class="el" href="a02303.html">TSockId</a> sockid, <a class="el" href="a02918.html">CMessage</a> &amp;msg, <a class="el" href="a04558.html#a12">sint64</a> updatecounter)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Alt. constructor. <a href="#NLNET_1_1TMessageRecorda1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecorda2">TMessageRecord</a> (bool input=false)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <a href="#NLNET_1_1TMessageRecorda2"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05379.html#a225">TNetworkEvent</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecordo0">Event</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02918.html">CMessage</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02303.html">TSockId</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecordo2">SockId</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03909.html#NLNET_1_1TMessageRecordo3">UpdateCounter</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLNET_1_1TMessageRecorda2" doxytag="NLNET::TMessageRecord::TMessageRecord" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::TMessageRecord::TMessageRecord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>input</em> = false </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00065">65</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+References <a class="el" href="a06029.html#l00102">Message</a>, <a class="el" href="a06029.html#l00101">SockId</a>, and <a class="el" href="a06029.html#l00099">UpdateCounter</a>.
+<p>
+<div class="fragment"><pre>00065 : <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo3">UpdateCounter</a>(0), <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo2">SockId</a>(InvalidSockId), <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a>( <span class="stringliteral">""</span>, input ) {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLNET_1_1TMessageRecorda1" doxytag="NLNET::TMessageRecord::TMessageRecord" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::TMessageRecord::TMessageRecord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a05379.html#a225">TNetworkEvent</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>event</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02303.html">TSockId</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>sockid</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02918.html">CMessage</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>msg</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>updatecounter</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Alt. constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00068">68</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+References <a class="el" href="a06029.html#l00100">Event</a>, <a class="el" href="a06029.html#l00102">Message</a>, <a class="el" href="a05981.html#l00101">sint64</a>, <a class="el" href="a06029.html#l00101">SockId</a>, <a class="el" href="a05511.html#l00042">NLNET::TSockId</a>, and <a class="el" href="a06029.html#l00099">UpdateCounter</a>.
+<p>
+<div class="fragment"><pre>00068 :
+00069 <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo3">UpdateCounter</a>(updatecounter), <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo0">Event</a>(event), <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo2">SockId</a>(sockid), <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a>(msg) {}
+
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLNET_1_1TMessageRecorda0" doxytag="NLNET::TMessageRecord::serial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::TMessageRecord::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02271.html">NLMISC::CMemStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stream</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serial to string stream.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00072">72</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+References <a class="el" href="a05979.html#l00238">NLMISC::CMemStream::buffer()</a>, <a class="el" href="a05979.html#l00306">NLMISC::CMemStream::bufferToFill()</a>, <a class="el" href="a06029.html#l00100">Event</a>, <a class="el" href="a06028.html#l00039">NLNET::EventToString()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05646.html#l00235">len</a>, <a class="el" href="a06027.html#l00104">NLNET::CMessage::length()</a>, <a class="el" href="a06029.html#l00102">Message</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05979.html#l00420">NLMISC::CMemStream::serial()</a>, <a class="el" href="a05978.html#l00073">NLMISC::CMemStream::serialBuffer()</a>, <a class="el" href="a05979.html#l00929">NLMISC::CMemStream::serialHex()</a>, <a class="el" href="a06029.html#l00101">SockId</a>, <a class="el" href="a05979.html#l00116">NLMISC::CMemStream::stringMode()</a>, <a class="el" href="a06028.html#l00054">NLNET::StringToEvent()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06029.html#l00099">UpdateCounter</a>.
+<p>
+Referenced by <a class="el" href="a06028.html#l00198">NLNET::CMessageRecorder::loadNext()</a>, and <a class="el" href="a06028.html#l00141">NLNET::CMessageRecorder::recordNext()</a>.
+<p>
+<div class="fragment"><pre>00073 {
+00074 <a class="code" href="a04199.html#a6">nlassert</a>( stream.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama49">stringMode</a>() );
+00075
+00076 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a571">len</a>;
+00077 string s_event;
+00078 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagea41">serial</a>( UpdateCounter );
+00079 <span class="keywordflow">if</span> ( stream.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() )
+00080 {
+00081 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagea41">serial</a>( s_event );
+00082 <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo0">Event</a> = <a class="code" href="a05379.html#a158">StringToEvent</a>( s_event );
+00083 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagez1974_0">serialHex</a>( (<a class="code" href="a04558.html#a11">uint32</a>&amp;)SockId );
+00084 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagea41">serial</a>( len );
+00085 stream.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama30">serialBuffer</a>( <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a>.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama1">bufferToFill</a>( len ), <a class="code" href="a04223.html#a571">len</a> );
+00086 }
+00087 <span class="keywordflow">else</span>
+00088 {
+00089 s_event = <a class="code" href="a05379.html#a157">EventToString</a>( Event );
+00090 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagea41">serial</a>( s_event );
+00091 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagez1974_0">serialHex</a>( (<a class="code" href="a04558.html#a11">uint32</a>&amp;)SockId );
+00092 <a class="code" href="a04223.html#a571">len</a> = <a class="code" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a>.<a class="code" href="a02918.html#NLNET_1_1CMessagea24">length</a>();
+00093 stream.<a class="code" href="a02271.html#NLNET_1_1CMessagea41">serial</a>( len );
+00094 stream.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama30">serialBuffer</a>( const_cast&lt;uint8*&gt;(<a class="code" href="a03909.html#NLNET_1_1TMessageRecordo1">Message</a>.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama0">buffer</a>()), <a class="code" href="a04223.html#a571">len</a> ); <span class="comment">// assumes the message contains plain text</span>
+00095 }
+00096 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLNET_1_1TMessageRecordo0" doxytag="NLNET::TMessageRecord::Event" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a05379.html#a225">TNetworkEvent</a> <a class="el" href="a03909.html#NLNET_1_1TMessageRecordo0">NLNET::TMessageRecord::Event</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00100">100</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+Referenced by <a class="el" href="a06028.html#l00308">NLNET::CMessageRecorder::checkNextOne()</a>, <a class="el" href="a06028.html#l00326">NLNET::CMessageRecorder::replayConnectionAttempt()</a>, <a class="el" href="a06028.html#l00276">NLNET::CMessageRecorder::replayNextDataAvailable()</a>, <a class="el" href="a06029.html#l00072">serial()</a>, and <a class="el" href="a06029.html#l00068">TMessageRecord()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLNET_1_1TMessageRecordo1" doxytag="NLNET::TMessageRecord::Message" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02918.html">CMessage</a> <a class="el" href="a03909.html#NLNET_1_1TMessageRecordo1">NLNET::TMessageRecord::Message</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00102">102</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+Referenced by <a class="el" href="a06028.html#l00326">NLNET::CMessageRecorder::replayConnectionAttempt()</a>, <a class="el" href="a06029.html#l00072">serial()</a>, and <a class="el" href="a06029.html#l00065">TMessageRecord()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLNET_1_1TMessageRecordo2" doxytag="NLNET::TMessageRecord::SockId" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02303.html">TSockId</a> <a class="el" href="a03909.html#NLNET_1_1TMessageRecordo2">NLNET::TMessageRecord::SockId</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00101">101</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+Referenced by <a class="el" href="a06029.html#l00072">serial()</a>, and <a class="el" href="a06029.html#l00065">TMessageRecord()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLNET_1_1TMessageRecordo3" doxytag="NLNET::TMessageRecord::UpdateCounter" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a03909.html#NLNET_1_1TMessageRecordo3">NLNET::TMessageRecord::UpdateCounter</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06029.html#l00099">99</a> of file <a class="el" href="a06029.html">message_recorder.h</a>.
+<p>
+Referenced by <a class="el" href="a06028.html#l00326">NLNET::CMessageRecorder::replayConnectionAttempt()</a>, <a class="el" href="a06029.html#l00072">serial()</a>, and <a class="el" href="a06029.html#l00065">TMessageRecord()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following file:<ul>
+<li><a class="el" href="a06029.html">message_recorder.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:08:23 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>