MRPT  2.0.4
Macros
byte_manip.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SELBYTE0(v)   (v & 0xff)
 
#define SELBYTE1(v)   ((v >> 8) & 0xff)
 
#define SELBYTE2(v)   ((v >> 16) & 0xff)
 
#define SELBYTE3(v)   ((v >> 24) & 0xff)
 
#define MAKEWORD16B(__LOBYTE, __HILOBYTE)   ((__LOBYTE) | ((__HILOBYTE) << 8))
 
#define MAKEWORD32B(__LOWORD16, __HIWORD16)   ((__LOWORD16) | ((__HIWORD16) << 16))
 
#define MAKEWORD64B(__LOWORD32, __HIWORD32)   ((__LOWORD32) | ((__HIWORD32) << 32))
 

Macro Definition Documentation

◆ MAKEWORD16B

#define MAKEWORD16B (   __LOBYTE,
  __HILOBYTE 
)    ((__LOBYTE) | ((__HILOBYTE) << 8))

◆ MAKEWORD32B

#define MAKEWORD32B (   __LOWORD16,
  __HIWORD16 
)    ((__LOWORD16) | ((__HIWORD16) << 16))

Definition at line 17 of file byte_manip.h.

◆ MAKEWORD64B

#define MAKEWORD64B (   __LOWORD32,
  __HIWORD32 
)    ((__LOWORD32) | ((__HIWORD32) << 32))

Definition at line 19 of file byte_manip.h.

◆ SELBYTE0

#define SELBYTE0 (   v)    (v & 0xff)

Definition at line 11 of file byte_manip.h.

Referenced by mrpt::containers::reduced_hash().

◆ SELBYTE1

#define SELBYTE1 (   v)    ((v >> 8) & 0xff)

Definition at line 12 of file byte_manip.h.

Referenced by mrpt::containers::reduced_hash().

◆ SELBYTE2

#define SELBYTE2 (   v)    ((v >> 16) & 0xff)

Definition at line 13 of file byte_manip.h.

Referenced by mrpt::containers::reduced_hash().

◆ SELBYTE3

#define SELBYTE3 (   v)    ((v >> 24) & 0xff)

Definition at line 14 of file byte_manip.h.

Referenced by mrpt::containers::reduced_hash().




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020