MeVisLab Toolbox Reference
OIVConfig.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, 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 OIVCONFIG_H
14 #define OIVCONFIG_H
15 
17 
19 //
20 // Flags:
21 // * __MEVIS_IV_USE_NAMESPACES: defined if the compiler has the
22 // necessary support for namespaces.
23 //
24 
25 //
26 // User-settable macros that control compilation:
27 // * __MEVIS_IV_NO_NAMESPACES: if defined, don't put the library in
28 // namespace 'mevisiv', even if the compiler supports namespaces.
29 //
30 
31 
32 // #define __MEVIS_IV_NO_NAMESPACES
33 
34 
36 #ifndef __MEVIS_IV_NO_NAMESPACES
37 # define __MEVIS_IV_USE_NAMESPACES 1
38 # define __MEVIS_IV_NAMESPACE mevisiv
39 # define __MEVIS_IV_BEGIN_NAMESPACE namespace mevisiv {
40 # define __MEVIS_IV_END_NAMESPACE }
41 # define __USING_NAMESPACE_MEVIS_IV using namespace mevisiv;
42 #else
43 # undef __MEVIS_IV_USE_NAMESPACES
44 # define __MEVIS_IV_BEGIN_NAMESPACE
45 # define __MEVIS_IV_END_NAMESPACE
46 # define __USING_NAMESPACE_MEVIS_IV
47 #endif
49 #endif // _OIVConfig_H