MeVisLabToolboxReference
MeVis/Foundation/Sources/MLInventorBinding/XVBasics.h
Go to the documentation of this file.
00001 #ifndef __XVBasics_H
00002 #define __XVBasics_H
00003 //----------------------------------------------------------------------------------
00004 // **InsertLicense** code
00005 //----------------------------------------------------------------------------------
00007 
00012 //----------------------------------------------------------------------------------
00013 
00014 #ifdef WIN32
00015 #include "mlSystemWarningsDisable.h"
00016 #include "windows.h"
00017 #include "mlSystemWarningsRestore.h"
00018 #endif
00019 
00022 #define SONODE_IS_A(node,type) (node?node->isOfType(SoType::fromName(#type)):FALSE)
00023 
00027 #define XV_INIT_LIBRARY(initMethod) \
00028 class _##initMethod##Class { \
00029     public: \
00030     _##initMethod##Class() { \
00031     initMethod(); \
00032   } \
00033 }; \
00034  \
00035 static _##initMethod##Class initClass;
00036 
00037 #endif
00038 // __XVBasics_H