libatomprobe
Library for Atom Probe Tomography (APT) computation
Functions | Variables
endianTest.h File Reference
#include <inttypes.h>
Include dependency graph for endianTest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int is_bigendian ()
 
int is_littleendian ()
 
void floatSwapBytes (float *inFloat)
 
void int4SwapBytes (int32_t *inInt)
 

Variables

const int ENDIAN_TEST =1
 

Function Documentation

◆ floatSwapBytes()

void floatSwapBytes ( float *  inFloat)
inline

◆ int4SwapBytes()

void int4SwapBytes ( int32_t *  inInt)
inline

Definition at line 76 of file endianTest.h.

Referenced by AtomProbe::readEposRecord().

◆ is_bigendian()

int is_bigendian ( )
inline

Definition at line 52 of file endianTest.h.

References ENDIAN_TEST.

◆ is_littleendian()

int is_littleendian ( )
inline

Definition at line 54 of file endianTest.h.

References ENDIAN_TEST.

Variable Documentation

◆ ENDIAN_TEST

const int ENDIAN_TEST =1

Definition at line 50 of file endianTest.h.

Referenced by is_bigendian(), and is_littleendian().