MIRA
|
Platform dependent defines and macros. More...
#include <windows.h>
Go to the source code of this file.
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Macros | |
#define | MIRA_WINDOWS |
#define | MIRA_FUNCTION __FUNCTION__ |
#define | MIRA_DEFAULT_CONSTRUCTOR {} |
#define | WIN32_LEAN_AND_MEAN 1 |
#define | MIRA_BASE_EXPORT __declspec(dllimport) |
This is required because on windows there is a macro defined called ERROR. More... | |
#define | MIRA_DEPRECATED(text, decl) __declspec(deprecated(text)) decl |
The following macro MIRA_GNUC_VERSION combines the gcc compiler version numbers in a single number. More... | |
#define | MIRA_DEPRECATED_CLASS(text) __declspec(deprecated(text)) |
Platform dependent defines and macros.
#define MIRA_WINDOWS |
#define MIRA_FUNCTION __FUNCTION__ |
#define MIRA_DEFAULT_CONSTRUCTOR {} |
#define WIN32_LEAN_AND_MEAN 1 |
#define MIRA_BASE_EXPORT __declspec(dllimport) |
This is required because on windows there is a macro defined called ERROR.
This is required because on windows there is a macro defined called RGB The Microsoft Compilers use '#define interface struct'. Since this is not really nice and 'interface' is not a reserved keyword in C/C++, we decided to undef it here!
#define MIRA_DEPRECATED | ( | text, | |
decl | |||
) | __declspec(deprecated(text)) decl |
The following macro MIRA_GNUC_VERSION combines the gcc compiler version numbers in a single number.
One can test if the compiler meets a required version e.g. 4.6.1 with: #if MIRA_GNUC_VERSION == 40601 Macro for declaring functions and classes deprecated.
#define MIRA_DEPRECATED_CLASS | ( | text | ) | __declspec(deprecated(text)) |