Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
The library : 3d error API

Functions

 b3d_erGetLastRes ()
 Get the last internal error returned by the error library.
 b3d_errGetLastMsg ()
 Get the last internal number error received by this library.
 b3d_errGetLastNum ()
 Get the last internal number error received by this library.
 b3d_errGetMaskDebug ()
 Get the "DEBUG" mask error.
 b3d_errGetMaskError ()
 Get the "ERROR" mask error.
 b3d_errGetMaskInfo ()
 Get the "INFO" mask error.
 b3d_errGetMaskNo ()
 Get the "EMPTY" mask error.
 b3d_errGetMaskOgre3D ()
 Get the OGRE3D mask error.
 b3d_errGetMaskWarn ()
 Get the "WARNING" mask error.
 b3d_errManager ()
 Get the error manager. The std::error API can be used with it.
 b3d_errSetMaskOgre3D (mask)
 Set the OGRE3D mask error.

Detailed Description

Function Documentation

b3d_errSetMaskOgre3D ( mask  )

Set the OGRE3D mask error.

Prototype: fun [I] I

Parameters
I: the mask, one of these values :
  • 0 (default)
  • SO3_LL_LOW
  • SO3_LL_NORMAL
  • SO3_LL_BOREME
Returns
I : 0 if success, 1 if error.
Remarks
This function should be used after 'b3d_initError', if any
Examples:
3d_test/test_3d.pkg_.
b3d_errGetMaskOgre3D ( )

Get the OGRE3D mask error.

Prototype: fun [] I

Returns
I : this mask value.
b3d_errGetMaskNo ( )

Get the "EMPTY" mask error.

Prototype: fun [] I

Returns
I : this mask value.
b3d_errGetMaskInfo ( )

Get the "INFO" mask error.

Prototype: fun [] I

Returns
I : this mask value.
b3d_errGetMaskWarn ( )

Get the "WARNING" mask error.

Prototype: fun [] I

Returns
I : this mask value.
b3d_errGetMaskError ( )

Get the "ERROR" mask error.

Prototype: fun [] I

Returns
I : this mask value.
Examples:
3d_test/test_3d.pkg_.
b3d_errGetMaskDebug ( )

Get the "DEBUG" mask error.

Prototype: fun [] I

Returns
I : this mask value.
b3d_errGetLastNum ( )

Get the last internal number error received by this library.

Prototype: fun [] I

Returns
I : this last error.
b3d_errGetLastMsg ( )

Get the last internal number error received by this library.

Prototype: fun [] S

Returns
S : this last error message (only if an explicite error message has been provided, b3d_errGetLastNum should be a better choice).
See Also
b3d_errGetLastNum
b3d_erGetLastRes ( )

Get the last internal error returned by the error library.

Prototype: fun [] I

Returns
I : this last error.
b3d_errManager ( )

Get the error manager. The std::error API can be used with it.

Prototype: fun [] STD_ERROR

Returns
STD_ERROR : this error manager.
Examples:
3d_test/test_3d.pkg_.