# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

stream.h File Reference

serialization interface class. More...

#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 "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)


Detailed Description

serialization interface class.

Id:
stream.h,v 1.56 2002/08/21 09:36:01 lecroart Exp

Definition in file stream.h.


Define Documentation

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

Definition at line 54 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 58 of file stream.h.

Referenced by NLNET::CCallbackClient::receive, NLNET::CBufServer::receive, NLNET::CCallbackClient::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 60 of file stream.h.

Referenced by NLMISC::IStream::serial.