ML Reference
MeVis/Foundation/Sources/MLUtilities/mlMacros.h File Reference

Defines basic macros. More...

Go to the source code of this file.

Defines

#define ML_DISALLOW_COPY_AND_ASSIGN(className)
 Macro to make a copy constructor and assignment private, to avoid copying and assigning of macros.
#define _ML_DECL_DEPRECATED
#define ML_DEPRECATED_CONSTRUCTOR
#define ML_DEPRECATED
#define ML_FRIEND_TEST(test_case_name, test_name)   friend class test_case_name##_##test_name##_Test
 Can be used to make a specific class a friend of a given test to allow testing of protected functionality with GoogleTest.
#define ML_UNIX_ONLY_EXPORT(A)
 A macro passing the given export macro through in the case of unix compilers where in a few cases expport acros must be used where windows does not require them.

Detailed Description

Defines basic macros.

Author:
Florian Link
Date:
2009-10

Definition in file mlMacros.h.


Define Documentation

#define _ML_DECL_DEPRECATED

Definition at line 28 of file mlMacros.h.

#define ML_DEPRECATED

Definition at line 40 of file mlMacros.h.

#define ML_DEPRECATED_CONSTRUCTOR

Definition at line 39 of file mlMacros.h.

#define ML_UNIX_ONLY_EXPORT (   A)

A macro passing the given export macro through in the case of unix compilers where in a few cases expport acros must be used where windows does not require them.

This in future can be fixed by using windows compatibility for export symbol but the current gcc's have a crash bug. For those few classes uses this macro around the exported symbols and add it before the class and it will be exported only on unix systems. Do not pass anything on windows platforms.

Definition at line 64 of file mlMacros.h.