Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Endian Class Reference

clanCore="I/O Data". More...

#include <cl_endian.h>

List of all members.

Static Public Methods

void swap (void *data, int type_size, int total_times=1)
 param: data - Data to be swapped.param: type_size - Size of datatype to be swapped.

bool is_system_big ()
 param: data -Data to be swapped.param: type_size - Size of datatype to be swapped.param: total_times - Number of 'type_size' size data chunks to be swapped.

bool is_system_64bit ()
 retval: True if big endian system, false otherwise.


Detailed Description

clanCore="I/O Data".

Definition at line 20 of file cl_endian.h.


Member Function Documentation

bool CL_Endian::is_system_64bit ( ) [static]
 

retval: True if big endian system, false otherwise.

bool CL_Endian::is_system_big ( ) [static]
 

param: data -Data to be swapped.param: type_size - Size of datatype to be swapped.param: total_times - Number of 'type_size' size data chunks to be swapped.

void CL_Endian::swap ( void * data,
int type_size,
int total_times = 1 ) [static]
 

param: data - Data to be swapped.param: type_size - Size of datatype to be swapped.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:56:53 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001