Package com.openinventor.inventor
Class SoModuleCheck
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.SoModuleCheck
Class used to check and report library and application consistency.
Contains static methods to query information about how the library was built.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionSoModuleCheck
(boolean is_secure_scl) Constructor.SoModuleCheck
(int so_version_deprecated_error) Checks the application was not built with SO_VERSION_DEPRECATED_ERROR. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns a string describing the compiler used to build the library.static String
Returns as a string the internal VSG build number.static String
Returns a string describing the platform used to build the library.static int
Returns the Open Inventor version of the library.static boolean
isDebug()
Returns true if the library was built in debug mode.static boolean
Returns true if the library was built with _SECURE_SCL=1 compiler flag.Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SoModuleCheck
public SoModuleCheck(boolean is_secure_scl) Constructor. -
SoModuleCheck
public SoModuleCheck(int so_version_deprecated_error) Checks the application was not built with SO_VERSION_DEPRECATED_ERROR.
-
-
Method Details
-
getProductVersion
public static int getProductVersion()Returns the Open Inventor version of the library.
For example 8500 for version 8.5.0 -
getCompilerString
Returns a string describing the compiler used to build the library.
For example "Microsoft Visual Studio 2008". -
isDebug
public static boolean isDebug()Returns true if the library was built in debug mode. -
getInternalBuildString
Returns as a string the internal VSG build number. -
isSCLFlag
public static boolean isSCLFlag()Returns true if the library was built with _SECURE_SCL=1 compiler flag. -
getPlatformString
Returns a string describing the platform used to build the library.
For example "Win32".
-