MeVisLab Toolbox Reference
mlMacros.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2009, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef ML_MACROS_H
14
#define ML_MACROS_H
15
17
21
#define ML_DISALLOW_COPY_AND_ASSIGN(className) \
22
private: \
23
className(const className&) = delete; \
24
className& operator=(const className &) = delete;
25
30
#define ML_FRIEND_TEST(test_case_name, test_name) \
31
friend class test_case_name##_##test_name##_Test
32
33
39
#if defined(WIN32)
41
#define ML_UNIX_ONLY_EXPORT(A)
42
#else
44
#define ML_UNIX_ONLY_EXPORT(A) A
45
#endif
46
47
51
#ifdef WIN32
52
#define ML_FORCE_INLINE __forceinline
53
#else
54
#define ML_FORCE_INLINE inline
55
#endif
56
57
58
#endif
59
60
MeVis
Foundation
Sources
MLUtilities
mlMacros.h
Generated by
1.9.8