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

Go to the source code of this file.

Macros

#define NOMINMAX
 
#define M_2PI   6.283185307179586476925286766559
 
#define M_PIf   3.14159265358979f
 
#define M_2PIf   6.28318530717959f
 
#define MRPT_CHECK_GCC_VERSION(major, minor)   0
 MRPT_CHECK_GCC_VERSION(MAJ,MIN) More...
 
#define MRPT_VISUALC_VERSION(major)   0
 MRPT_CHECK_VISUALC_VERSION(Version) Version=8 for 2005, 9=2008, 10=2010, 11=2012, 12=2013, 14=2015. More...
 
#define MRPT_CHECK_VISUALC_VERSION(major)   0
 
#define __has_feature(x)   0
 
#define __has_extension   __has_feature
 
#define MRPT_DO_PRAGMA(x)
 Declare MRPT_TODO(message) More...
 
#define MRPT_MSG_PRAGMA(_msg)
 
#define MRPT_WARNING(x)   MRPT_MSG_PRAGMA("Warning: " x)
 
#define MRPT_TODO(x)   MRPT_MSG_PRAGMA("TODO: " x)
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__
 A macro for obtaining the name of the current function: More...
 
#define MRPT_printf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_scanf_format_check(_FMT_, _VARARGS_)
 
#define MRPT_FORCE_INLINE   inline
 Tells the compiler we really want to inline that function. More...
 

Macro Definition Documentation

◆ __CURRENT_FUNCTION_NAME__

#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__

◆ __has_extension

#define __has_extension   __has_feature

Definition at line 94 of file common.h.

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 91 of file common.h.

◆ M_2PI

#define M_2PI   6.283185307179586476925286766559

◆ M_2PIf

#define M_2PIf   6.28318530717959f

Definition at line 62 of file common.h.

Referenced by mrpt::maps::CBeacon::generateRingSOG().

◆ M_PIf

#define M_PIf   3.14159265358979f

◆ MRPT_CHECK_GCC_VERSION

#define MRPT_CHECK_GCC_VERSION (   major,
  minor 
)    0

MRPT_CHECK_GCC_VERSION(MAJ,MIN)

Definition at line 69 of file common.h.

◆ MRPT_CHECK_VISUALC_VERSION

#define MRPT_CHECK_VISUALC_VERSION (   major)    0

Definition at line 76 of file common.h.

◆ MRPT_DO_PRAGMA

#define MRPT_DO_PRAGMA (   x)

Declare MRPT_TODO(message)

Definition at line 108 of file common.h.

◆ MRPT_FORCE_INLINE

#define MRPT_FORCE_INLINE   inline

Tells the compiler we really want to inline that function.

Definition at line 157 of file common.h.

◆ MRPT_MSG_PRAGMA

#define MRPT_MSG_PRAGMA (   _msg)

Definition at line 109 of file common.h.

◆ MRPT_printf_format_check [1/2]

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 142 of file common.h.

◆ MRPT_printf_format_check [2/2]

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 142 of file common.h.

◆ MRPT_scanf_format_check [1/2]

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 150 of file common.h.

◆ MRPT_scanf_format_check [2/2]

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 150 of file common.h.

◆ MRPT_TODO

#define MRPT_TODO (   x)    MRPT_MSG_PRAGMA("TODO: " x)

Definition at line 113 of file common.h.

◆ MRPT_VISUALC_VERSION

#define MRPT_VISUALC_VERSION (   major)    0

MRPT_CHECK_VISUALC_VERSION(Version) Version=8 for 2005, 9=2008, 10=2010, 11=2012, 12=2013, 14=2015.

Definition at line 75 of file common.h.

◆ MRPT_WARNING

#define MRPT_WARNING (   x)    MRPT_MSG_PRAGMA("Warning: " x)

Definition at line 112 of file common.h.

◆ NOMINMAX

#define NOMINMAX

Definition at line 47 of file common.h.




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