cel_endian.h File Reference

Endianness related definitions. More...

#include "cel_system.h"

Include dependency graph for cel_endian.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Celartem

Enumerations

enum  Celartem::Endian { Celartem::endianBig = 1234, Celartem::endianLittle = 4321, Celartem::endianHost = ENDIAN_HOST }

Functions

template<class T>
Celartem::swap (const T &n)
template<class T>
Celartem::toBig (const T &num)
template<class T>
Celartem::toLittle (const T &num)
template<class T>
Celartem::fromBig (const T &num)
template<class T>
Celartem::fromLittle (const T &num)
template<class T>
void Celartem::write (void *CEL_RESTRICT buffer, T t, Endian endian)
template<class T>
void Celartem::writeArray (void *CEL_RESTRICT buffer, T *CEL_RESTRICT array, size_t count, Endian endian)
template<class T>
Celartem::read (const void *CEL_RESTRICT buffer, Endian endian)
template<class T>
void Celartem::swapBytes (const void *CEL_RESTRICT ioBuffer, size_t inBytes)


Detailed Description

Endianness related definitions.

Definition in file cel_endian.h.


This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:22:08 2008.