Class SoModuleCheck


  • public class SoModuleCheck
    extends Inventor
    Class used to check and report library and application consistency. Contains static methods to query information about how the library was built.
    • Constructor Summary

      Constructors 
      Constructor Description
      SoModuleCheck​(boolean is_secure_scl)
      Constructor.
      SoModuleCheck​(int so_version_deprecated_error)
      Checks the application was not built with SO_VERSION_DEPRECATED_ERROR.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getCompilerString()
      Returns a string describing the compiler used to build the library.
      static java.lang.String getInternalBuildString()
      Returns as a string the internal VSG build number.
      static java.lang.String getPlatformString()
      Returns a string describing the platform used to build the library.
      static int getProductVersion()
      Returns the Open Inventor version of the library.
      static boolean isDebug()
      Returns true if the library was built in debug mode.
      static boolean isSCLFlag()
      Returns true if the library was built with _SECURE_SCL=1 compiler flag.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • getProductVersion

        public static int getProductVersion()
        Returns the Open Inventor version of the library.
        For example 8500 for version 8.5.0
      • getCompilerString

        public static java.lang.String 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

        public static java.lang.String 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

        public static java.lang.String getPlatformString()
        Returns a string describing the platform used to build the library.
        For example "Win32".