aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLNET_1_1CMessage.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CMessage.html')
-rw-r--r--docs/doxygen/nel/classNLNET_1_1CMessage.html1043
1 files changed, 1043 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CMessage.html b/docs/doxygen/nel/classNLNET_1_1CMessage.html
new file mode 100644
index 00000000..3d154d90
--- /dev/null
+++ b/docs/doxygen/nel/classNLNET_1_1CMessage.html
@@ -0,0 +1,1043 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLNET::CMessage Class Reference</h1>Message memory stream for network.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="message_8h-source.html">message.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLNET::CMessage:
+<p><center><img src="classNLNET_1_1CMessage.gif" usemap="#NLNET::CMessage_map" border="0"></center>
+<map name="NLNET::CMessage_map">
+<area href="classNLMISC_1_1CMemStream.html" alt="NLMISC::CMemStream" shape="rect" coords="0,56,140,80">
+<area href="classNLMISC_1_1IStream.html" alt="NLMISC::IStream" shape="rect" coords="0,0,140,24">
+</map>
+<a href="classNLNET_1_1CMessage-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a> { <a class="el" href="classNLNET_1_1CMessage.html#s3s0">UseDefault</a>,
+<a class="el" href="classNLNET_1_1CMessage.html#s3s1">Binary</a>,
+<a class="el" href="classNLNET_1_1CMessage.html#s3s2">String</a>
+ }</td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a0">CMessage</a> (<a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> &amp;sida, const std::string &amp;name="", bool inputStream=false, <a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a> streamformat=UseDefault, <a class="el" href="memory__common_8h.html#a11">uint32</a> defaultCapacity=1000)</td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a1">CMessage</a> (const std::string &amp;name="", bool inputStream=false, <a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a> streamformat=UseDefault, <a class="el" href="memory__common_8h.html#a11">uint32</a> defaultCapacity=1000)</td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a2">CMessage</a> (<a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;memstr)</td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a3">CMessage</a> (const CMessage &amp;other)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Copy constructor.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CMessage &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a4">operator=</a> (const CMessage &amp;other)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Assignment operator.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a5">setType</a> (<a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets the message type as a number (in range 0..32767) and put it in the buffer if we are in writing mode.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a6">setType</a> (const std::string &amp;name)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets the message type as a string and put it in the buffer if we are in writing mode.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a7">getHeaderSize</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the size, in byte of the header that contains the type name of the message or the type number.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a8">readType</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a9">typeIsSet</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a10">invert</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Transforms the message from input to output or from output to input.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a11">clear</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Clears the message.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a12">getName</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the type name in string if available. Be sure that the message have the name of the message type.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a13">getId</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the type id of this message is available.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#a14">toString</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns a readable string to display it to the screen.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#d0">setDefaultStringMode</a> (bool stringmode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set default stream mode.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#m0">TypeHasAnId</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#m1">TypeHasAName</a></td></tr>
+<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#b0">init</a> (const std::string &amp;name, <a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a> streamformat)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Utility method.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#o0">_TypeSet</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#o1">_SIDA</a></td></tr>
+<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#o2">_Name</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#o3">_Id</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#o4">_HeaderSize</a></td></tr>
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CMessage.html#r0">_DefaultStringMode</a> = false</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Message memory stream for network.
+<p>
+Can be serialized to/from (see SerialBuffer()). Can be sent or received over a network, using the NeL network engine. If MESSAGES_PLAIN_TEXT is defined, the messages will be serialized to/from plain text (human-readable), instead of binary. Warning: if you don't give a "sida", the message type will not be associated with id so, it'll not be optimized Warning: THE ASSOCIATION Id&lt;-&gt;String SYSTEM FOR THE MESSAGE TYPE IS DISABLED BECAUSE 2 DIFFERENT CLIENTS COULD HAVE SAME STRING ASSOC AND DIFFERENT ID SO WE HAVE TO PUT ONE SIDA TABLE PER CONNECTION AND NOT PER NET_BASE
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Vianney Lecroart , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8h-source.html#l00056">56</a> of file <a class="el" href="message_8h-source.html">message.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s3" doxytag="NLNET::CMessage::TStreamFormat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NLNET::CMessage::TStreamFormat
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s3s0" doxytag="UseDefault"></a><em>UseDefault</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s3s1" doxytag="Binary"></a><em>Binary</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s3s2" doxytag="String"></a><em>String</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="message_8h-source.html#l00060">60</a> of file <a class="el" href="message_8h-source.html">message.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLNET::CMessage::CMessage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CMessage::CMessage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>sida</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>name</em> = "", </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>inputStream</em> = false, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>streamformat</em> = UseDefault, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>defaultCapacity</em> = 1000</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </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="message_8cpp-source.html#l00046">46</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8cpp-source.html#l00064">init</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLNET::CMessage::CMessage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CMessage::CMessage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>name</em> = "", </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>inputStream</em> = false, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>streamformat</em> = UseDefault, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>defaultCapacity</em> = 1000</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </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="message_8cpp-source.html#l00053">53</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8cpp-source.html#l00064">init</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLNET::CMessage::CMessage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CMessage::CMessage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>memstr</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </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="message_8cpp-source.html#l00080">80</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="mem__stream_8h-source.html#l00196">NLMISC::CMemStream::fill</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="mem__stream_8h-source.html#l00317">NLMISC::CMemStream::serial</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLNET::CMessage::CMessage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CMessage::CMessage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CMessage &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Copy constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00103">103</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8cpp-source.html#l00109">operator=</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a11" doxytag="NLNET::CMessage::clear"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::clear </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clears the message.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLMISC_1_1CMemStream.html#a9">NLMISC::CMemStream</a>.
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00294">294</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLNET::CMessage::getHeaderSize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CMessage::getHeaderSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the size, in byte of the header that contains the type name of the message or the type number.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00242">242</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00136">_HeaderSize</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLNET::CMessage::getId"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> NLNET::CMessage::getId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the type id of this message is available.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00308">308</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00133">_Id</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>, and <a class="el" href="message_8h-source.html#l00120">TypeHasAnId</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLNET::CMessage::getName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string NLNET::CMessage::getName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the type name in string if available. Be sure that the message have the name of the message type.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00301">301</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00132">_Name</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="message_8h-source.html#l00121">TypeHasAName</a>. </td>
+ </tr>
+</table>
+<a name="b0" doxytag="NLNET::CMessage::init"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLNET_1_1CMessage.html#s3">TStreamFormat</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>streamformat</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Utility method.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00064">64</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8cpp-source.html#l00039">_DefaultStringMode</a>, <a class="el" href="mem__stream_8h-source.html#l00096">NLMISC::CMemStream::setStringMode</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, <a class="el" href="classNLNET_1_1CMessage.html#s3s2">String</a>, and <a class="el" href="classNLNET_1_1CMessage.html#s3s0">UseDefault</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00046">CMessage</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLNET::CMessage::invert"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::invert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Transforms the message from input to output or from output to input.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNLMISC_1_1CMemStream.html#a16">NLMISC::CMemStream</a>.
+<p>
+Definition at line <a class="el" href="message_8h-source.html#l00090">90</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, and <a class="el" href="message_8cpp-source.html#l00250">readType</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLNET::CMessage::operator="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CMessage &amp; NLNET::CMessage::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CMessage &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Assignment operator.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00109">109</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00136">_HeaderSize</a>, <a class="el" href="message_8h-source.html#l00133">_Id</a>, <a class="el" href="message_8h-source.html#l00132">_Name</a>, <a class="el" href="message_8h-source.html#l00130">_SIDA</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="message_8h-source.html#l00121">TypeHasAName</a>, and <a class="el" href="message_8h-source.html#l00120">TypeHasAnId</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00103">CMessage</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLNET::CMessage::readType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::readType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </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="message_8cpp-source.html#l00250">250</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="mem__stream_8h-source.html#l00416">NLMISC::CMemStream::_StringMode</a>, <a class="el" href="classNLMISC_1_1IStream.html#s3s0">NLMISC::IStream::begin</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="mem__stream_8cpp-source.html#l00166">NLMISC::CMemStream::seek</a>, <a class="el" href="mem__stream_8h-source.html#l00317">NLMISC::CMemStream::serial</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>.
+<p>
+Referenced by <a class="el" href="message_8h-source.html#l00090">invert</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NLNET::CMessage::setDefaultStringMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::setDefaultStringMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stringmode</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set default stream mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8h-source.html#l00118">118</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+References <a class="el" href="message_8cpp-source.html#l00039">_DefaultStringMode</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLNET::CMessage::setType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::setType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>name</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the message type as a string and put it in the buffer if we are in writing mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00178">178</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00136">_HeaderSize</a>, <a class="el" href="message_8h-source.html#l00133">_Id</a>, <a class="el" href="message_8h-source.html#l00132">_Name</a>, <a class="el" href="mem__stream_8h-source.html#l00416">NLMISC::CMemStream::_StringMode</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, <a class="el" href="message_8cpp-source.html#l00042">FormatLong</a>, <a class="el" href="message_8cpp-source.html#l00043">FormatShort</a>, <a class="el" href="mem__stream_8h-source.html#l00131">NLMISC::CMemStream::getPos</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="mem__stream_8h-source.html#l00152">NLMISC::CMemStream::length</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="mem__stream_8h-source.html#l00317">NLMISC::CMemStream::serial</a>, <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>, <a class="el" href="message_8h-source.html#l00121">TypeHasAName</a>, and <a class="el" href="message_8h-source.html#l00120">TypeHasAnId</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLNET::CMessage::setType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CMessage::setType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>id</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the message type as a number (in range 0..32767) and put it in the buffer if we are in writing mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00124">124</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00136">_HeaderSize</a>, <a class="el" href="message_8h-source.html#l00133">_Id</a>, <a class="el" href="message_8h-source.html#l00132">_Name</a>, <a class="el" href="message_8h-source.html#l00130">_SIDA</a>, <a class="el" href="mem__stream_8h-source.html#l00416">NLMISC::CMemStream::_StringMode</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00712">format</a>, <a class="el" href="message_8cpp-source.html#l00042">FormatLong</a>, <a class="el" href="mem__stream_8h-source.html#l00131">NLMISC::CMemStream::getPos</a>, <a class="el" href="string__id__array_8h-source.html#l00131">NLMISC::CStringIdArray::getString</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="mem__stream_8h-source.html#l00152">NLMISC::CMemStream::length</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="mem__stream_8h-source.html#l00317">NLMISC::CMemStream::serial</a>, <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>, <a class="el" href="message_8h-source.html#l00121">TypeHasAName</a>, and <a class="el" href="message_8h-source.html#l00120">TypeHasAnId</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00080">CMessage</a>, <a class="el" href="message_8cpp-source.html#l00064">init</a>, and <a class="el" href="message_8cpp-source.html#l00250">readType</a>. </td>
+ </tr>
+</table>
+<a name="a14" doxytag="NLNET::CMessage::toString"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string NLNET::CMessage::toString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns a readable string to display it to the screen.
+<p>
+It's only for debugging purpose! Don't use it for anything else than to debugging, the string format could change in the futur
+<p>
+Definition at line <a class="el" href="message_8cpp-source.html#l00317">317</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00133">_Id</a>, <a class="el" href="message_8h-source.html#l00132">_Name</a>, <a class="el" href="message_8h-source.html#l00130">_SIDA</a>, <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>, <a class="el" href="string__id__array_8h-source.html#l00089">NLMISC::CStringIdArray::getId</a>, <a class="el" href="string__id__array_8h-source.html#l00131">NLMISC::CStringIdArray::getString</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="message_8h-source.html#l00121">TypeHasAName</a>, and <a class="el" href="message_8h-source.html#l00120">TypeHasAnId</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLNET::CMessage::typeIsSet"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CMessage::typeIsSet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </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="message_8cpp-source.html#l00288">288</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+References <a class="el" href="message_8h-source.html#l00129">_TypeSet</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="r0" doxytag="NLNET::CMessage::_DefaultStringMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CMessage::_DefaultStringMode = false<code> [static, private]</code>
+ </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="message_8cpp-source.html#l00039">39</a> of file <a class="el" href="message_8cpp-source.html">message.cpp</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00064">init</a>, and <a class="el" href="message_8h-source.html#l00118">setDefaultStringMode</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NLNET::CMessage::_HeaderSize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CMessage::_HeaderSize<code> [private]</code>
+ </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="message_8h-source.html#l00136">136</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00242">getHeaderSize</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, and <a class="el" href="message_8cpp-source.html#l00124">setType</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NLNET::CMessage::_Id"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> NLNET::CMessage::_Id<code> [private]</code>
+ </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="message_8h-source.html#l00133">133</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00308">getId</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="message_8cpp-source.html#l00317">toString</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NLNET::CMessage::_Name"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string NLNET::CMessage::_Name<code> [private]</code>
+ </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="message_8h-source.html#l00132">132</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00301">getName</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="message_8cpp-source.html#l00317">toString</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NLNET::CMessage::_SIDA"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a>* NLNET::CMessage::_SIDA<code> [private]</code>
+ </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="message_8h-source.html#l00130">130</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="message_8cpp-source.html#l00317">toString</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NLNET::CMessage::_TypeSet"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CMessage::_TypeSet<code> [private]</code>
+ </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="message_8h-source.html#l00129">129</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00294">clear</a>, <a class="el" href="message_8cpp-source.html#l00308">getId</a>, <a class="el" href="message_8cpp-source.html#l00301">getName</a>, <a class="el" href="message_8h-source.html#l00090">invert</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, <a class="el" href="message_8cpp-source.html#l00317">toString</a>, and <a class="el" href="message_8cpp-source.html#l00288">typeIsSet</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NLNET::CMessage::TypeHasAName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CMessage::TypeHasAName
+ </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="message_8h-source.html#l00121">121</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00301">getName</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="message_8cpp-source.html#l00317">toString</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NLNET::CMessage::TypeHasAnId"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CMessage::TypeHasAnId
+ </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="message_8h-source.html#l00120">120</a> of file <a class="el" href="message_8h-source.html">message.h</a>.
+<p>
+Referenced by <a class="el" href="message_8cpp-source.html#l00308">getId</a>, <a class="el" href="message_8cpp-source.html#l00109">operator=</a>, <a class="el" href="message_8cpp-source.html#l00124">setType</a>, and <a class="el" href="message_8cpp-source.html#l00317">toString</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="message_8h-source.html">message.h</a><li><a class="el" href="message_8cpp-source.html">message.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>