Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions
bits.cpp File Reference
#include "base-precomp.h"
#include <mrpt/utils/core_defs.h>
#include <mrpt/utils/bits.h>
#include <cstring>
#include <cstdlib>

Go to the source code of this file.

Macros

#define __has_builtin(x)   0
 

Functions

template<typename T >
void reverseBytesInPlace_2b (T &v_in_out)
 
template<typename T >
void reverseBytesInPlace_4b (T &v_in_out)
 
template<typename T >
void reverseBytesInPlace_8b (T &v_in_out)
 

Macro Definition Documentation

◆ __has_builtin

#define __has_builtin (   x)    0

Definition at line 20 of file bits.cpp.

Function Documentation

◆ reverseBytesInPlace_2b()

template<typename T >
void reverseBytesInPlace_2b ( T &  v_in_out)

Definition at line 31 of file bits.cpp.

References mrpt::system::os::memcpy().

Referenced by mrpt::utils::reverseBytesInPlace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseBytesInPlace_4b()

template<typename T >
void reverseBytesInPlace_4b ( T &  v_in_out)

Definition at line 46 of file bits.cpp.

References mrpt::system::os::memcpy().

Referenced by mrpt::utils::reverseBytesInPlace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseBytesInPlace_8b()

template<typename T >
void reverseBytesInPlace_8b ( T &  v_in_out)

Definition at line 69 of file bits.cpp.

References mrpt::system::os::memcpy().

Referenced by mrpt::utils::reverseBytesInPlace().

Here is the call graph for this function:
Here is the caller graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019