MeVisLabToolboxReference
MeVis/Foundation/Sources/MLInventorBinding/OIVConfig.h
Go to the documentation of this file.
00001 #ifndef _OIVConfig_H
00002 #define _OIVConfig_H
00003 
00004 // **InsertLicense** code
00005 //-----------------------------------------------------------------------------
00007 
00012 //-----------------------------------------------------------------------------
00013 
00014 
00016 //
00017 // Flags:
00018 // * __MEVIS_IV_USE_NAMESPACES: defined if the compiler has the
00019 //   necessary support for namespaces.
00020 //
00021 
00022 //
00023 // User-settable macros that control compilation:
00024 // * __MEVIS_IV_NO_NAMESPACES: if defined, don't put the library in
00025 //   namespace 'mevisiv', even if the compiler supports namespaces.
00026 //
00027 
00028 
00029 // #define __MEVIS_IV_NO_NAMESPACES
00030 
00031 
00033 #ifndef __MEVIS_IV_NO_NAMESPACES
00034 # define __MEVIS_IV_USE_NAMESPACES 1
00035 # define __MEVIS_IV_NAMESPACE mevisiv
00036 # define __MEVIS_IV_BEGIN_NAMESPACE namespace mevisiv {
00037 # define __MEVIS_IV_END_NAMESPACE }
00038 # define __USING_NAMESPACE_MEVIS_IV using namespace mevisiv;
00039 #else
00040 # undef  __MEVIS_IV_USE_NAMESPACES
00041 # define __MEVIS_IV_BEGIN_NAMESPACE
00042 # define __MEVIS_IV_END_NAMESPACE
00043 # define __USING_NAMESPACE_MEVIS_IV
00044 #endif
00045 
00046 #endif  // _OIVConfig_H