Swap.h File Reference

Go to the source code of this file.

Namespaces

namespace  Base
 

The namespace of the FreeCAD Base library.


Defines

#define HIGH_ENDIAN   (unsigned short) 0x4D4D
#define LOW_ENDIAN   (unsigned short) 0x4949

Functions

template<class T >
void Base::SwapEndian (T &v)
unsigned short Base::SwapOrder (void)
 Definition of functions that allow swapping of data types dependent on the architecture.
void Base::SwapVar (double &)
void Base::SwapVar (float &)
void Base::SwapVar (unsigned long &)
void Base::SwapVar (long &)
void Base::SwapVar (unsigned short &)
void Base::SwapVar (short &)
void Base::SwapVar (unsigned char &)
void Base::SwapVar (char &)

Define Documentation

#define HIGH_ENDIAN   (unsigned short) 0x4D4D

Definition at line 28 of file Swap.h.

Referenced by Base::SwapOrder().

#define LOW_ENDIAN   (unsigned short) 0x4949

Definition at line 27 of file Swap.h.

Referenced by Base::SwapOrder().


Generated on Wed Nov 23 19:01:23 2011 for FreeCAD by  doxygen 1.6.1