OpenStructure
Functions
ost::img::util Namespace Reference

Functions

template<typename T >
void swap_buf (T *p, int n)
 
void swap_short (short int *p, short int n)
 
void swap_ushort (ushort *p, short int n)
 
void swap_int (int *p, int n)
 
void swap_uint (uint *p, int n)
 
void swap_float (float *p, int n)
 
void swap_double (Real *p, int n)
 
void swap_long (long *p, int n)
 

Function Documentation

◆ swap_buf()

void ost::img::util::swap_buf ( T *  p,
int  n 
)

◆ swap_double()

void ost::img::util::swap_double ( Real p,
int  n 
)
inline

Definition at line 51 of file util.hh.

◆ swap_float()

void ost::img::util::swap_float ( float *  p,
int  n 
)
inline

Definition at line 49 of file util.hh.

◆ swap_int()

void ost::img::util::swap_int ( int *  p,
int  n 
)
inline

Definition at line 45 of file util.hh.

◆ swap_long()

void ost::img::util::swap_long ( long *  p,
int  n 
)
inline

Definition at line 53 of file util.hh.

◆ swap_short()

void ost::img::util::swap_short ( short int *  p,
short int  n 
)
inline

Definition at line 41 of file util.hh.

◆ swap_uint()

void ost::img::util::swap_uint ( uint p,
int  n 
)
inline

Definition at line 47 of file util.hh.

◆ swap_ushort()

void ost::img::util::swap_ushort ( ushort p,
short int  n 
)
inline

Definition at line 43 of file util.hh.