DTOR_DEF
List of: Discussion Topic
Subjects: Entity, Extending ACIS
Contents: Application Development Manual

DTOR_DEF defines the ENTITY's destructor, which is called to permanently release all memory back to the operating system. It is called by ENTITY's only friend, BULLETIN, when the BULLETIN is deleted and there is no longer any chance that the ENTITY could be restored via roll back

Signature

MY_ENTITY::~MY_ENTITY

Implementation

DTOR_DEF should always follow LOSE_DEF, as it supplies the final call to the parent ENTITY's lose method. The implementation must do whatever is required to release any non-ENTITY data pointed to by the ENTITY, but should not delete subsidiary ENTITYs (they will be deleted by separate calls to the BULLETIN destructor).
PDF/APPDEV/09ENT.PDF
HTM/DATA/ACIS/APPDEV/09ENT/0015.HTM