MIRA
Namespaces | Macros
Platform.h File Reference

Platform dependent defines and macros. More...

This graph shows which files directly or indirectly include this file:

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_FUNCTION   __FUNCTION__
 
#define MIRA_DEFAULT_CONSTRUCTOR   {}
 
#define MIRA_DEPRECATED(text, decl)   __attribute__ ((deprecated)) decl
 The following macro MIRA_GNUC_VERSION combines the gcc compiler version numbers in a single number. More...
 
#define MIRA_DEPRECATED_CLASS(text)   __attribute__ ((deprecated))
 

Detailed Description

Platform dependent defines and macros.

Author
Tim Langner
Date
2010/07/07

Macro Definition Documentation

◆ MIRA_FUNCTION

#define MIRA_FUNCTION   __FUNCTION__

◆ MIRA_DEFAULT_CONSTRUCTOR

#define MIRA_DEFAULT_CONSTRUCTOR   {}

◆ MIRA_DEPRECATED

#define MIRA_DEPRECATED (   text,
  decl 
)    __attribute__ ((deprecated)) 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.

MIRA_DEPRECATED("Please use myNewFunction instead", void myOldFunction()) {}

◆ MIRA_DEPRECATED_CLASS

#define MIRA_DEPRECATED_CLASS (   text)    __attribute__ ((deprecated))