stream.h File Reference


Detailed Description

serialization interface class

Id
stream.h,v 1.65 2004/03/04 14:35:15 vizerie Exp

Definition in file stream.h.

#include "nel/misc/types_nl.h"
#include "nel/misc/ucstring.h"
#include "nel/misc/class_registry.h"
#include <utility>
#include <string>
#include <vector>
#include <deque>
#include <list>
#include <set>
#include <map>
#include <hash_map>
#include "nel/misc/stream_inline.h"

Go to the source code of this file.

Namespaces

namespace  NLMISC

Defines

#define NLMISC_BSWAP16(src)   (src) = (((src)>>8)&0xFF) | (((src)&0xFF)<<8)
#define NLMISC_BSWAP32(src)   (src) = (((src)>>24)&0xFF) | ((((src)>>16)&0xFF)<<8) | ((((src)>>8)&0xFF)<<16) | (((src)&0xFF)<<24)
#define NLMISC_BSWAP64(src)   (src) = (((src)>>56)&0xFF) | ((((src)>>48)&0xFF)<<8) | ((((src)>>40)&0xFF)<<16) | ((((src)>>32)&0xFF)<<24) | ((((src)>>24)&0xFF)<<32) | ((((src)>>16)&0xFF)<<40) | ((((src)>>8)&0xFF)<<48) | (((src)&0xFF)<<56)


Define Documentation

#define NLMISC_BSWAP16 src   )     (src) = (((src)>>8)&0xFF) | (((src)&0xFF)<<8)
 

Definition at line 56 of file stream.h.

Referenced by NLMISC::IStream::serial().

#define NLMISC_BSWAP32 src   )     (src) = (((src)>>24)&0xFF) | ((((src)>>16)&0xFF)<<8) | ((((src)>>8)&0xFF)<<16) | (((src)&0xFF)<<24)
 

Definition at line 60 of file stream.h.

Referenced by NLNET::CCallbackClient::receive(), NLNET::CBufServer::receive(), NLNET::CCallbackClient::send(), NLNET::CBufServer::send(), and NLMISC::IStream::serial().

#define NLMISC_BSWAP64 src   )     (src) = (((src)>>56)&0xFF) | ((((src)>>48)&0xFF)<<8) | ((((src)>>40)&0xFF)<<16) | ((((src)>>32)&0xFF)<<24) | ((((src)>>24)&0xFF)<<32) | ((((src)>>16)&0xFF)<<40) | ((((src)>>8)&0xFF)<<48) | (((src)&0xFF)<<56)
 

Definition at line 62 of file stream.h.

Referenced by NLMISC::IStream::serial().


Generated on Tue Mar 16 06:43:21 2004 for NeL by doxygen 1.3.6