Home | All Classes | Grouped Classes | Index | Search
Easy serialization of a data structure. More...
Derived from:
none
Derived by:
none
Group: Network (NetObjects)
#include <ClanLib/network.h>
Construction:
Construct a netvariables object. |
Attributes:
Returns true if the variables have changed since last save. |
Operations:
Add booleans to the data structure. | |
Add integers to the data structure. | |
Add shorts to the data structure. | |
Add floats to the data structure. | |
Add doubles to the data structure. | |
Add structures to the data structure. | |
Write all variables in the data structure to the output source. | |
Read all variables in the data structure from the input source. | |
Write all variables that have changed since last save. | |
Read a diff produced with save_diff from the input source. |
Implementation:
Detailed description:
!group=Network/NetObjects! !header=network.h!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.
The Netvariables interface can also read the data again, and produce 'diff' packages where it only write variables that have changed since last write.