Mesh Oriented datABase  (version 5.6.0)
An array-based unstructured mesh library
Compiler.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MB_PRINTF(START)
 Give a hint to the compiler the function is like printf. More...
 
#define UNUSED(x)   (void)( x )
 
#define MB_DLL_EXPORT
 Declare a function or class to be visible in shared library. More...
 
#define MB_DLL_HIDDEN
 Declare a function or class to be internal to a shared library. More...
 
#define MB_DEPRECATED
 Mark function or API as deprecated. More...
 

Detailed Description

Author
Jason Kraftcheck
Date
2010-12-16

Provide pre-processor macros for compiler-specific features. All defined macros should expand to nothing if not supported by the compiler.

Definition in file Compiler.hpp.

Macro Definition Documentation

◆ MB_DEPRECATED

#define MB_DEPRECATED

Mark function or API as deprecated.

Definition at line 102 of file Compiler.hpp.

◆ MB_DLL_EXPORT

#define MB_DLL_EXPORT

Declare a function or class to be visible in shared library.

Definition at line 92 of file Compiler.hpp.

◆ MB_DLL_HIDDEN

#define MB_DLL_HIDDEN

Declare a function or class to be internal to a shared library.

Definition at line 93 of file Compiler.hpp.

◆ MB_PRINTF

#define MB_PRINTF (   START)

Give a hint to the compiler the function is like printf.

Public Compiler-Specifc Pre-Processor Macros

Tell the compiler that the function involves a printf-style format string and varargs list. This gives the compiler the opportunity to warn if the argument types do not match the format string. This macro should be inluded after the complete function declaration, but before the closing semi-colon.

Parameters
STARTThe position of the format string in the argument list, where the first argument is 1.
Note
This macro is designed to be used with member functions of C++ classes, and therefore explicitly accounts for the implicit this pointer in the argument list. It will not work correctly with static or non-member functions.
This macro assumes that the arguments referenced in the format string begin immediately after the format string itself.

Definition at line 68 of file Compiler.hpp.

◆ UNUSED

#define UNUSED (   x)    (void)( x )

Definition at line 71 of file Compiler.hpp.