ByteOrder.h File Reference

Defines a general reverseBytes template and a specialization for complex. More...

#include "Utilities/ElementProperties.h"
#include <complex>

Include dependency graph for ByteOrder.h:


Functions

template<class T >
void reverseBytes (T &t)
 The exported interface to the above template is the global reverseBytes template.
template<class FloatType >
void reverseBytes (std::complex< FloatType > &t)
 We overload directly for class complex.

Detailed Description

Defines a general reverseBytes template and a specialization for complex.

The general template is implemented by the struct ByteReverser, which is not published.


Function Documentation

template<class T >
void reverseBytes ( T &  t  )  [inline]

template<class FloatType >
void reverseBytes ( std::complex< FloatType > &  t  )  [inline]

We overload directly for class complex.

References imag(), real(), and reverseBytes().


Generated on Wed Mar 16 06:16:22 2011 for FreePOOMA by  doxygen 1.5.9