SR_rbo.hh File Reference

#include <OpenMesh/Core/System/config.h>
#include <cstdio>
#include <algorithm>
#include <typeinfo>
#include <OpenMesh/Core/System/omstream.hh>
#include <OpenMesh/Core/IO/SR_types.hh>
#include <OpenMesh/Core/Utils/GenProg.hh>
Include dependency graph for SR_rbo.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenMesh
namespace  OpenMesh::IO

Handling binary input/output.

These functions take care of swapping bytes to get the right Endian.



#define REVERSE_FUNDAMENTAL_TYPE(T)
template<size_t N>
void OpenMesh::IO::_reverse_byte_order_N (uint8_t *_val)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 1 > (uint8_t *)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 12 > (uint8_t *_val)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 16 > (uint8_t *_val)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 2 > (uint8_t *_val)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 4 > (uint8_t *_val)
template<>
void OpenMesh::IO::_reverse_byte_order_N< 8 > (uint8_t *_val)
void OpenMesh::IO::compile_time_error__no_fundamental_type ()
template<typename T >
OpenMesh::IO::reverse_byte_order (const T &a)
template<>
uchar & OpenMesh::IO::reverse_byte_order (uchar &_t)
template<>
char & OpenMesh::IO::reverse_byte_order (char &_t)
template<>
bool & OpenMesh::IO::reverse_byte_order (bool &_t)
template<typename T >
T & OpenMesh::IO::reverse_byte_order (T &_t)
template<typename T >
T * OpenMesh::IO::reverse_byte_order (T *t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (long double)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (double)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (float)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (uint64_t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (int64_t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (uint32_t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (int32_t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (unsigned long)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (uint16_t)
 OpenMesh::IO::REVERSE_FUNDAMENTAL_TYPE (int16_t)

Define Documentation

#define REVERSE_FUNDAMENTAL_TYPE (  ) 
Value:
template <> inline T& reverse_byte_order( T&  _t ) {\
   _reverse_byte_order_N<sizeof(T)>( reinterpret_cast<uint8_t*>(&_t) ); \
   return _t; \
  }

Definition at line 186 of file SR_rbo.hh.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:04 2013