Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > a2116f36018873d572acbcadddb8e994 > files > 2546

clanlib0.8-docs-0.8.1-22.mga7.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_NetVariables - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_NetVariables</h1>
<p>  Easy serialization of a data structure. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<i>none</i>
<br>Group: Network (NetObjects)</p>
<p>
#include &lt;ClanLib/network.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetVariables__CL_NetVariables.html">CL_NetVariables</a></p></td><td valign=top><p>  Construct a netvariables object.</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetVariables__is_different.html">is_different</a></p></td><td valign=top><p>  Returns true if the variables have changed since last save.</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetVariables__add_bool.html">add_bool</a></p></td><td valign=top><p>  Add booleans to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__add_int.html">add_int</a></p></td><td valign=top><p>  Add integers to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__add_short.html">add_short</a></p></td><td valign=top><p>  Add shorts to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__add_float.html">add_float</a></p></td><td valign=top><p>  Add floats to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__add_double.html">add_double</a></p></td><td valign=top><p>  Add doubles to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__add_vars.html">add_vars</a></p></td><td valign=top><p>  Add structures to the data structure.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__save_all.html">save_all</a></p></td><td valign=top><p>  Write all variables in the data structure to the output source.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__load_all.html">load_all</a></p></td><td valign=top><p>  Read all variables in the data structure from the input source.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__save_diff.html">save_diff</a></p></td><td valign=top><p>  Write all variables that have changed since last save.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_NetVariables__load_diff.html">load_diff</a></p></td><td valign=top><p>  Read a diff produced with save_diff from the input source.</p></td></tr></table>
<p><b>Implementation:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_NetVariables__impl.html">impl</a></p></td><td valign=top><p></p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=Network/NetObjects!
  !header=network.h!
  <p>The netvariables class is used to read a set of variables from an object,
  and write them structured, in network byte order, to an output source.</p>

  <p>The Netvariables interface can also read the data again, and produce 'diff'
  packages where it only write variables that have changed since last write.</p>


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->