28#include <Inventor/SbBase.h>
29#include <Inventor/sys/port.h>
76#ifndef HIDDEN_FROM_DOC
83 SoModule(
const char* libName,
86 const char* plateform,
88 const bool SO_UNUSED_PARAM(is_secure_scl) );
94#include <SoResourcePreproc.i>
101#if !defined(_SECURE_SCL) || (_SECURE_SCL==1)
102#define IS_SECURE_SCL 1
104#define IS_SECURE_SCL 0
107#define SO_MODULE_HEADER( className, libName) \
108class className##Module : public SoModule \
111 className##Module() \
112 : SoModule( libName, SO_PRODUCT_VERSION, COMPILER_STRING, SO_PRODUCT_STRING_PLATFORM, IS_DEBUG , IS_SECURE_SCL) {} \
115#define SO_MODULE_SOURCE( className, productName ) \
116const char* s_versionString_##className##Module = "@(#) " productName " for " SO_PRODUCT_STRING_PLATFORM " built with " COMPILER_STRING "\n@(#) " SO_FULL_VERSION_DOTTED_STRING "." TYPE_BUILD_VERSION "." INTERNAL_BUILD_KEY "\n" SO_UNIX_LEGAL_COPYRIGHT; \
117className##Module g_##className##Module
120#define SO_MODULE_HEADER( className, libName)
121#define SO_MODULE_SOURCE( className, productName) ;
Class used to check and report library and application consistency.
static int getProductVersion()
Returns the Open Inventor version of the library.
static const char * getCompilerString()
Returns a string describing the compiler used to build the library.
static const char * getInternalBuildString()
Returns as a string the internal VSG build number.
static bool isSCLFlag()
Returns TRUE if the library was built with _SECURE_SCL=1 compiler flag.
static const char * getPlatformString()
Returns a string describing the platform used to build the library.
SoModuleCheck(const int so_version_deprecated_error)
Checks the application was not built with SO_VERSION_DEPRECATED_ERROR.
SoModuleCheck(const bool is_secure_scl)
Constructor.
static bool isDebug()
Returns TRUE if the library was built in debug mode.