MeVisLabToolboxReference
|
Library init macros, node check macros for inventor wrapper. More...
Go to the source code of this file.
Defines | |
#define | SONODE_IS_A(node, type) (node?node->isOfType(SoType::fromName(#type)):FALSE) |
SONODE_IS_A macro is used to check if the given node pointer is of the wanted type: usage: SONODE_IS_A(node, SoAnyNodeName) | |
#define | XV_INIT_LIBRARY(initMethod) |
XV_INIT_LIBRARY is a macro used to initialize shared libraries independent of the underlying system (WIN32/Unix), the given init method is called on loading of the library. |
Library init macros, node check macros for inventor wrapper.
Definition in file XVBasics.h.
#define SONODE_IS_A | ( | node, | |
type | |||
) | (node?node->isOfType(SoType::fromName(#type)):FALSE) |
SONODE_IS_A macro is used to check if the given node pointer is of the wanted type: usage: SONODE_IS_A(node, SoAnyNodeName)
Definition at line 22 of file XVBasics.h.
#define XV_INIT_LIBRARY | ( | initMethod | ) |
class _##initMethod##Class { \ public: \ _##initMethod##Class() { \ initMethod(); \ } \ }; \ \ static _##initMethod##Class initClass;
XV_INIT_LIBRARY is a macro used to initialize shared libraries independent of the underlying system (WIN32/Unix), the given init method is called on loading of the library.
Definition at line 27 of file XVBasics.h.