MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
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, do not put the library in
28// namespace 'mevisiv', even if the compiler supports namespaces.
29//
30
31
32// #define __MEVIS_IV_NO_NAMESPACES
33
34
37#ifndef __MEVIS_IV_NO_NAMESPACES
38#define __MEVIS_IV_USE_NAMESPACES 1
39#define __MEVIS_IV_NAMESPACE mevisiv
40#define __MEVIS_IV_BEGIN_NAMESPACE \
41 namespace mevisiv \
42 {
43#define __MEVIS_IV_END_NAMESPACE }
44#define __USING_NAMESPACE_MEVIS_IV using namespace mevisiv;
45#else
46#undef __MEVIS_IV_USE_NAMESPACES
47#define __MEVIS_IV_BEGIN_NAMESPACE
48#define __MEVIS_IV_END_NAMESPACE
49#define __USING_NAMESPACE_MEVIS_IV
50#endif
52#endif // _OIVConfig_H