Main MRPT website > C++ reference for MRPT 1.5.9
Macros | Typedefs | Functions
base/include/mrpt/utils/pstdint.h File Reference
#include <stddef.h>
#include <limits.h>
#include <signal.h>
Include dependency graph for base/include/mrpt/utils/pstdint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _PSTDINT_H_INCLUDED
 
#define SIZE_MAX   (~(size_t)0)
 
#define UINT8_MAX   0xff
 
#define INT8_MAX   0x7f
 
#define INT8_MIN   INT8_C(0x80)
 
#define UINT16_MAX   0xffff
 
#define INT16_MAX   0x7fff
 
#define INT16_MIN   INT16_C(0x8000)
 
#define UINT32_MAX   (0xffffffffUL)
 
#define INT32_MAX   (0x7fffffffL)
 
#define INT32_MIN   INT32_C(0x80000000)
 
#define ULONG_LONG_MAX   UINT64_C (18446744073709551615)
 
#define PRINTF_INT64_HEX_WIDTH   "16"
 
#define PRINTF_INT32_HEX_WIDTH   "8"
 
#define PRINTF_INT16_HEX_WIDTH   "4"
 
#define PRINTF_INT8_HEX_WIDTH   "2"
 
#define PRINTF_INT64_DEC_WIDTH   "20"
 
#define PRINTF_INT32_DEC_WIDTH   "10"
 
#define PRINTF_INT16_DEC_WIDTH   "5"
 
#define PRINTF_INT8_DEC_WIDTH   "3"
 
#define INTMAX_MAX   INT32_MAX
 
#define UINTMAX_MAX   UINT32_MAX
 
#define UINTMAX_C(v)   UINT32_C(v)
 
#define INTMAX_C(v)   INT32_C(v)
 
#define PRINTF_INTMAX_MODIFIER   PRINTF_INT32_MODIFIER
 
#define PRINTF_INTMAX_HEX_WIDTH   PRINTF_INT32_HEX_WIDTH
 
#define PRINTF_INTMAX_DEC_WIDTH   PRINTF_INT32_DEC_WIDTH
 
#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER
 
#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER
 
#define UINT_LEAST8_MAX   UINT8_MAX
 
#define INT_LEAST8_MAX   INT8_MAX
 
#define UINT_LEAST16_MAX   UINT16_MAX
 
#define INT_LEAST16_MAX   INT16_MAX
 
#define UINT_LEAST32_MAX   UINT32_MAX
 
#define INT_LEAST32_MAX   INT32_MAX
 
#define INT_LEAST8_MIN   INT8_MIN
 
#define INT_LEAST16_MIN   INT16_MIN
 
#define INT_LEAST32_MIN   INT32_MIN
 
#define UINT_FAST8_MAX   UINT_LEAST8_MAX
 
#define INT_FAST8_MAX   INT_LEAST8_MAX
 
#define UINT_FAST16_MAX   UINT_LEAST16_MAX
 
#define INT_FAST16_MAX   INT_LEAST16_MAX
 
#define UINT_FAST32_MAX   UINT_LEAST32_MAX
 
#define INT_FAST32_MAX   INT_LEAST32_MAX
 
#define INT_FAST8_MIN   INT_LEAST8_MIN
 
#define INT_FAST16_MIN   INT_LEAST16_MIN
 
#define INT_FAST32_MIN   INT_LEAST32_MIN
 
#define stdint_intptr_bits   32
 
#define stdint_intptr_glue3_i(a, b, c)   a##b##c
 
#define stdint_intptr_glue3(a, b, c)   stdint_intptr_glue3_i(a,b,c)
 
#define PRINTF_INTPTR_MODIFIER   stdint_intptr_glue3(PRINTF_INT,stdint_intptr_bits,_MODIFIER)
 
#define PTRDIFF_MAX   stdint_intptr_glue3(INT,stdint_intptr_bits,_MAX)
 
#define PTRDIFF_MIN   stdint_intptr_glue3(INT,stdint_intptr_bits,_MIN)
 
#define UINTPTR_MAX   stdint_intptr_glue3(UINT,stdint_intptr_bits,_MAX)
 
#define INTPTR_MAX   stdint_intptr_glue3(INT,stdint_intptr_bits,_MAX)
 
#define INTPTR_MIN   stdint_intptr_glue3(INT,stdint_intptr_bits,_MIN)
 
#define INTPTR_C(x)   stdint_intptr_glue3(INT,stdint_intptr_bits,_C)(x)
 
#define UINTPTR_C(x)   stdint_intptr_glue3(UINT,stdint_intptr_bits,_C)(x)
 
#define STDINT_H_UINTPTR_T_DEFINED
 
#define SIG_ATOMIC_MAX   ((((sig_atomic_t) 1) << (sizeof (sig_atomic_t)*CHAR_BIT-1)) - 1)
 
#define MRPT_PSTDINT_H
 

Typedefs

typedef int32_t intmax_t
 
typedef uint32_t uintmax_t
 
typedef int8_t int_least8_t
 
typedef uint8_t uint_least8_t
 
typedef int16_t int_least16_t
 
typedef uint16_t uint_least16_t
 
typedef int32_t int_least32_t
 
typedef uint32_t uint_least32_t
 
typedef int_least8_t int_fast8_t
 
typedef uint_least8_t uint_fast8_t
 
typedef int_least16_t int_fast16_t
 
typedef uint_least16_t uint_fast16_t
 
typedef int_least32_t int_fast32_t
 
typedef uint_least32_t uint_fast32_t
 

Functions

typedef stdint_intptr_glue3 (uint, stdint_intptr_bits, _t) *uintptr_t
 
typedef stdint_intptr_glue3 (int, stdint_intptr_bits, _t) *intptr_t
 

Macro Definition Documentation

◆ _PSTDINT_H_INCLUDED

#define _PSTDINT_H_INCLUDED

Definition at line 126 of file base/include/mrpt/utils/pstdint.h.

◆ INT16_MAX

#define INT16_MAX   0x7fff

Definition at line 187 of file base/include/mrpt/utils/pstdint.h.

◆ INT16_MIN

#define INT16_MIN   INT16_C(0x8000)

Definition at line 190 of file base/include/mrpt/utils/pstdint.h.

◆ INT32_MAX

#define INT32_MAX   (0x7fffffffL)

Definition at line 240 of file base/include/mrpt/utils/pstdint.h.

◆ INT32_MIN

#define INT32_MIN   INT32_C(0x80000000)

Definition at line 243 of file base/include/mrpt/utils/pstdint.h.

◆ INT8_MAX

#define INT8_MAX   0x7f

Definition at line 151 of file base/include/mrpt/utils/pstdint.h.

◆ INT8_MIN

#define INT8_MIN   INT8_C(0x80)

Definition at line 154 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST16_MAX

#define INT_FAST16_MAX   INT_LEAST16_MAX

Definition at line 465 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST16_MIN

#define INT_FAST16_MIN   INT_LEAST16_MIN

Definition at line 469 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST32_MAX

#define INT_FAST32_MAX   INT_LEAST32_MAX

Definition at line 467 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST32_MIN

#define INT_FAST32_MIN   INT_LEAST32_MIN

Definition at line 470 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST8_MAX

#define INT_FAST8_MAX   INT_LEAST8_MAX

Definition at line 463 of file base/include/mrpt/utils/pstdint.h.

◆ INT_FAST8_MIN

#define INT_FAST8_MIN   INT_LEAST8_MIN

Definition at line 468 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST16_MAX

#define INT_LEAST16_MAX   INT16_MAX

Definition at line 428 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST16_MIN

#define INT_LEAST16_MIN   INT16_MIN

Definition at line 432 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST32_MAX

#define INT_LEAST32_MAX   INT32_MAX

Definition at line 430 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST32_MIN

#define INT_LEAST32_MIN   INT32_MIN

Definition at line 433 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST8_MAX

#define INT_LEAST8_MAX   INT8_MAX

Definition at line 426 of file base/include/mrpt/utils/pstdint.h.

◆ INT_LEAST8_MIN

#define INT_LEAST8_MIN   INT8_MIN

Definition at line 431 of file base/include/mrpt/utils/pstdint.h.

◆ INTMAX_C

#define INTMAX_C (   v)    INT32_C(v)

Definition at line 397 of file base/include/mrpt/utils/pstdint.h.

◆ INTMAX_MAX

#define INTMAX_MAX   INT32_MAX

Definition at line 394 of file base/include/mrpt/utils/pstdint.h.

◆ INTPTR_C

#define INTPTR_C (   x)    stdint_intptr_glue3(INT,stdint_intptr_bits,_C)(x)

Definition at line 542 of file base/include/mrpt/utils/pstdint.h.

◆ INTPTR_MAX

#define INTPTR_MAX   stdint_intptr_glue3(INT,stdint_intptr_bits,_MAX)

Definition at line 536 of file base/include/mrpt/utils/pstdint.h.

◆ INTPTR_MIN

#define INTPTR_MIN   stdint_intptr_glue3(INT,stdint_intptr_bits,_MIN)

Definition at line 539 of file base/include/mrpt/utils/pstdint.h.

◆ MRPT_PSTDINT_H

#define MRPT_PSTDINT_H

Definition at line 12 of file maps/CColouredPointsMap.h.

◆ PRINTF_INT16_DEC_WIDTH

#define PRINTF_INT16_DEC_WIDTH   "5"

Definition at line 362 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT16_HEX_WIDTH

#define PRINTF_INT16_HEX_WIDTH   "4"

Definition at line 349 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT32_DEC_WIDTH

#define PRINTF_INT32_DEC_WIDTH   "10"

Definition at line 359 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT32_HEX_WIDTH

#define PRINTF_INT32_HEX_WIDTH   "8"

Definition at line 346 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT64_DEC_WIDTH

#define PRINTF_INT64_DEC_WIDTH   "20"

Definition at line 356 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT64_HEX_WIDTH

#define PRINTF_INT64_HEX_WIDTH   "16"

Definition at line 343 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT8_DEC_WIDTH

#define PRINTF_INT8_DEC_WIDTH   "3"

Definition at line 365 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INT8_HEX_WIDTH

#define PRINTF_INT8_HEX_WIDTH   "2"

Definition at line 352 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INTMAX_DEC_WIDTH

#define PRINTF_INTMAX_DEC_WIDTH   PRINTF_INT32_DEC_WIDTH

Definition at line 405 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INTMAX_HEX_WIDTH

#define PRINTF_INTMAX_HEX_WIDTH   PRINTF_INT32_HEX_WIDTH

Definition at line 402 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INTMAX_MODIFIER

#define PRINTF_INTMAX_MODIFIER   PRINTF_INT32_MODIFIER

Definition at line 399 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_INTPTR_MODIFIER

#define PRINTF_INTPTR_MODIFIER   stdint_intptr_glue3(PRINTF_INT,stdint_intptr_bits,_MODIFIER)

Definition at line 524 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_LEAST16_MODIFIER

#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER

Definition at line 424 of file base/include/mrpt/utils/pstdint.h.

◆ PRINTF_LEAST32_MODIFIER

#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER

Definition at line 423 of file base/include/mrpt/utils/pstdint.h.

◆ PTRDIFF_MAX

#define PTRDIFF_MAX   stdint_intptr_glue3(INT,stdint_intptr_bits,_MAX)

Definition at line 527 of file base/include/mrpt/utils/pstdint.h.

◆ PTRDIFF_MIN

#define PTRDIFF_MIN   stdint_intptr_glue3(INT,stdint_intptr_bits,_MIN)

Definition at line 530 of file base/include/mrpt/utils/pstdint.h.

◆ SIG_ATOMIC_MAX

#define SIG_ATOMIC_MAX   ((((sig_atomic_t) 1) << (sizeof (sig_atomic_t)*CHAR_BIT-1)) - 1)

Definition at line 562 of file base/include/mrpt/utils/pstdint.h.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

◆ STDINT_H_UINTPTR_T_DEFINED

#define STDINT_H_UINTPTR_T_DEFINED

Definition at line 554 of file base/include/mrpt/utils/pstdint.h.

◆ stdint_intptr_bits

#define stdint_intptr_bits   32

Definition at line 515 of file base/include/mrpt/utils/pstdint.h.

◆ stdint_intptr_glue3

#define stdint_intptr_glue3 (   a,
  b,
  c 
)    stdint_intptr_glue3_i(a,b,c)

Definition at line 522 of file base/include/mrpt/utils/pstdint.h.

◆ stdint_intptr_glue3_i

#define stdint_intptr_glue3_i (   a,
  b,
  c 
)    a##b##c

Definition at line 521 of file base/include/mrpt/utils/pstdint.h.

◆ UINT16_MAX

#define UINT16_MAX   0xffff

Definition at line 166 of file base/include/mrpt/utils/pstdint.h.

◆ UINT32_MAX

#define UINT32_MAX   (0xffffffffUL)

Definition at line 211 of file base/include/mrpt/utils/pstdint.h.

◆ UINT8_MAX

#define UINT8_MAX   0xff

Definition at line 139 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_FAST16_MAX

#define UINT_FAST16_MAX   UINT_LEAST16_MAX

Definition at line 464 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_FAST32_MAX

#define UINT_FAST32_MAX   UINT_LEAST32_MAX

Definition at line 466 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_FAST8_MAX

#define UINT_FAST8_MAX   UINT_LEAST8_MAX

Definition at line 462 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_LEAST16_MAX

#define UINT_LEAST16_MAX   UINT16_MAX

Definition at line 427 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_LEAST32_MAX

#define UINT_LEAST32_MAX   UINT32_MAX

Definition at line 429 of file base/include/mrpt/utils/pstdint.h.

◆ UINT_LEAST8_MAX

#define UINT_LEAST8_MAX   UINT8_MAX

Definition at line 425 of file base/include/mrpt/utils/pstdint.h.

◆ UINTMAX_C

#define UINTMAX_C (   v)    UINT32_C(v)

Definition at line 396 of file base/include/mrpt/utils/pstdint.h.

◆ UINTMAX_MAX

#define UINTMAX_MAX   UINT32_MAX

Definition at line 395 of file base/include/mrpt/utils/pstdint.h.

◆ UINTPTR_C

#define UINTPTR_C (   x)    stdint_intptr_glue3(UINT,stdint_intptr_bits,_C)(x)

Definition at line 545 of file base/include/mrpt/utils/pstdint.h.

◆ UINTPTR_MAX

#define UINTPTR_MAX   stdint_intptr_glue3(UINT,stdint_intptr_bits,_MAX)

Definition at line 533 of file base/include/mrpt/utils/pstdint.h.

◆ ULONG_LONG_MAX

#define ULONG_LONG_MAX   UINT64_C (18446744073709551615)

Definition at line 325 of file base/include/mrpt/utils/pstdint.h.

Typedef Documentation

◆ int_fast16_t

Definition at line 458 of file base/include/mrpt/utils/pstdint.h.

◆ int_fast32_t

Definition at line 460 of file base/include/mrpt/utils/pstdint.h.

◆ int_fast8_t

Definition at line 456 of file base/include/mrpt/utils/pstdint.h.

◆ int_least16_t

Definition at line 419 of file base/include/mrpt/utils/pstdint.h.

◆ int_least32_t

Definition at line 421 of file base/include/mrpt/utils/pstdint.h.

◆ int_least8_t

Definition at line 417 of file base/include/mrpt/utils/pstdint.h.

◆ intmax_t

typedef int32_t intmax_t

Definition at line 392 of file base/include/mrpt/utils/pstdint.h.

◆ uint_fast16_t

Definition at line 459 of file base/include/mrpt/utils/pstdint.h.

◆ uint_fast32_t

Definition at line 461 of file base/include/mrpt/utils/pstdint.h.

◆ uint_fast8_t

Definition at line 457 of file base/include/mrpt/utils/pstdint.h.

◆ uint_least16_t

Definition at line 420 of file base/include/mrpt/utils/pstdint.h.

◆ uint_least32_t

Definition at line 422 of file base/include/mrpt/utils/pstdint.h.

◆ uint_least8_t

Definition at line 418 of file base/include/mrpt/utils/pstdint.h.

◆ uintmax_t

Definition at line 393 of file base/include/mrpt/utils/pstdint.h.

Function Documentation

◆ stdint_intptr_glue3() [1/2]

typedef stdint_intptr_glue3 ( uint  ,
stdint_intptr_bits  ,
_t   
)

◆ stdint_intptr_glue3() [2/2]

typedef stdint_intptr_glue3 ( int  ,
stdint_intptr_bits  ,
_t   
)



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020