Main MRPT website > C++ reference for MRPT 1.9.9
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_DEPRECATED(msg)
 Usage: MRPT_DEPRECATED("Use XX instead") void myFunc(double);. More...
 
#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...
 
#define MRPT_UNUSED_PARAM(a)   (void)(a)
 Determines whether this is an X86 or AMD64 platform. More...
 

Macro Definition Documentation

◆ __CURRENT_FUNCTION_NAME__

#define __CURRENT_FUNCTION_NAME__   __PRETTY_FUNCTION__

A macro for obtaining the name of the current function:

Definition at line 150 of file common.h.

◆ __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

Definition at line 58 of file common.h.

◆ M_2PIf

#define M_2PIf   6.28318530717959f

Definition at line 62 of file common.h.

◆ M_PIf

#define M_PIf   3.14159265358979f

Definition at line 61 of file common.h.

◆ 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_DEPRECATED

#define MRPT_DEPRECATED (   msg)

Usage: MRPT_DEPRECATED("Use XX instead") void myFunc(double);.

Definition at line 110 of file common.h.

◆ MRPT_DO_PRAGMA

#define MRPT_DO_PRAGMA (   x)

Declare MRPT_TODO(message)

Definition at line 124 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 173 of file common.h.

◆ MRPT_MSG_PRAGMA

#define MRPT_MSG_PRAGMA (   _msg)

Definition at line 125 of file common.h.

◆ MRPT_printf_format_check [1/2]

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 158 of file common.h.

◆ MRPT_printf_format_check [2/2]

#define MRPT_printf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 158 of file common.h.

◆ MRPT_scanf_format_check [1/2]

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 166 of file common.h.

◆ MRPT_scanf_format_check [2/2]

#define MRPT_scanf_format_check (   _FMT_,
  _VARARGS_ 
)

Definition at line 166 of file common.h.

◆ MRPT_TODO

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

Definition at line 129 of file common.h.

◆ MRPT_UNUSED_PARAM

#define MRPT_UNUSED_PARAM (   a)    (void)(a)

Determines whether this is an X86 or AMD64 platform.

Can be used to avoid "not used parameters" warnings from the compiler

Definition at line 186 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 128 of file common.h.

◆ NOMINMAX

#define NOMINMAX

Definition at line 47 of file common.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST