Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoModuleCheck Class Reference

Class used to check and report library and application consistency. More...

#include <Inventor/SoModule.h>

Public Member Functions

 SoModuleCheck (const bool is_secure_scl)
 Constructor.
 
 SoModuleCheck (const int so_version_deprecated_error)
 Checks the application was not built with SO_VERSION_DEPRECATED_ERROR.
 

Static Public Member Functions

static const char * getCompilerString ()
 Returns a string describing the compiler used to build the library.
 
static const char * getPlatformString ()
 Returns a string describing the platform used to build the library.
 
static const char * getInternalBuildString ()
 Returns as a string the internal VSG build number.
 
static bool isDebug ()
 Returns TRUE if the library was built in debug mode.
 
static bool isSCLFlag ()
 Returns TRUE if the library was built with _SECURE_SCL=1 compiler flag.
 
static int getProductVersion ()
 Returns the Open Inventor version of the library.
 

Detailed Description

Class used to check and report library and application consistency.

Contains static methods to query information about how the library was built.

Definition at line 40 of file SoModule.h.

Constructor & Destructor Documentation

◆ SoModuleCheck() [1/2]

SoModuleCheck::SoModuleCheck ( const bool  is_secure_scl)

Constructor.

◆ SoModuleCheck() [2/2]

SoModuleCheck::SoModuleCheck ( const int  so_version_deprecated_error)

Checks the application was not built with SO_VERSION_DEPRECATED_ERROR.

Member Function Documentation

◆ getCompilerString()

static const char * SoModuleCheck::getCompilerString ( )
static

Returns a string describing the compiler used to build the library.


For example "Microsoft Visual Studio 2008".

◆ getInternalBuildString()

static const char * SoModuleCheck::getInternalBuildString ( )
static

Returns as a string the internal VSG build number.

◆ getPlatformString()

static const char * SoModuleCheck::getPlatformString ( )
static

Returns a string describing the platform used to build the library.


For example "Win32".

◆ getProductVersion()

static int SoModuleCheck::getProductVersion ( )
static

Returns the Open Inventor version of the library.


For example 8500 for version 8.5.0

◆ isDebug()

static bool SoModuleCheck::isDebug ( )
static

Returns TRUE if the library was built in debug mode.

◆ isSCLFlag()

static bool SoModuleCheck::isSCLFlag ( )
static

Returns TRUE if the library was built with _SECURE_SCL=1 compiler flag.


The documentation for this class was generated from the following file: