IRISLIB database
BlackBox Class Reference

This class implements storage for various transformation objects. More...

Inheritance diagram for BlackBox:

Public Member Functions

_.Library.Status OnAfterSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnOpen1 ()
 This callback method is invoked by the <METHOD>Open</METHOD> method to. More...
 

Static Public Member Functions

_.Library.Status OnAfterDelete (_.Library.ObjectIdentity oid)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 

Detailed Description

This class implements storage for various transformation objects.

Such objects use precalculated data to perform transformation. The data is multidimensional and thus can not be stored in usual way.

Member Function Documentation

◆ OnAfterDelete()

_.Library.Status OnAfterDelete ( _.Library.ObjectIdentity  oid)
static

This callback method is invoked by the <METHOD>Delete</METHOD> method to.

provide notification that the object specified by oid has been deleted. The callback occurs immediately after DeleteData has been called. If DeleteData returns an error then OnAfterDelete is not called.

If OnAfterDelete returns an error (Status) then the transaction is rolled back.

◆ OnAfterSave()

_.Library.Status OnAfterSave ( _.Library.Boolean  insert)

This callback method is invoked by the <METHOD>Save</METHOD> method to.

provide notification that the object is being saved. It is called after the object's data has been successfully written to disk.

insert will be set to 1 if this object is being saved for the first time.

If this method returns an error then the call to <METHOD>Save</METHOD> will fail.

◆ OnOpen1()

_.Library.Status OnOpen1 ( )

This callback method is invoked by the <METHOD>Open</METHOD> method to.

provide notification that the object specified by oid is being opened.

If this method returns an error then the object will not be opened.