VTK
Classes
vtkByteSwap.h File Reference
#include "vtkObject.h"
Include dependency graph for vtkByteSwap.h:

Go to the source code of this file.

Classes

class  vtkByteSwap
 perform machine dependent byte swapping More...
 

Macros

#define VTK_BYTE_SWAP_DECL(T)
 

Macro Definition Documentation

#define VTK_BYTE_SWAP_DECL (   T)
Value:
static void SwapLE(T* p); \
static void SwapBE(T* p); \
static void SwapLERange(T* p, vtkIdType num); \
static void SwapBERange(T* p, vtkIdType num); \
static bool SwapLERangeWrite(const T* p, vtkIdType num, FILE* file); \
static bool SwapBERangeWrite(const T* p, vtkIdType num, FILE* file); \
static void SwapLERangeWrite(const T* p, vtkIdType num, ostream* os); \
static void SwapBERangeWrite(const T* p, vtkIdType num, ostream* os)
int vtkIdType
Definition: vtkType.h:255

Type-safe swap signatures to swap for storage in either Little Endian or Big Endian format. Swapping is performed according to the true size of the type given.

Definition at line 42 of file vtkByteSwap.h.