Defines

Macros

This are macros used in OpenWalnut. More...

Defines

#define OW_API_DEPRECATED
 In order to mark functions for the compiler as deprecated we need to put this before each deprecated funtion to get compiler warnings whenever this function is used.
#define OWDATAHANDLER_EXPORT
 In order to export symbols for shared libraries on Windows we need to put this before each class.

Detailed Description

This are macros used in OpenWalnut.

Generally speaking we want to use as less macros as possible, so introduce new macros only if you have read: http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.5 esp. all four "why are macros - evil" pages.


Define Documentation

#define OW_API_DEPRECATED

In order to mark functions for the compiler as deprecated we need to put this before each deprecated funtion to get compiler warnings whenever this function is used.

Notes:
This macro is defined in here, since almost every header of the dataHandler includes this header.

Definition at line 44 of file WDefines.h.

#define OWDATAHANDLER_EXPORT

In order to export symbols for shared libraries on Windows we need to put this before each class.

Notes:
Unfortunately we need to end those lines with " // NOLINT preliminary macro" since out style checker cannot handle this.

Definition at line 42 of file WExportDataHandler.h.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends