API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::goodbye Method
OdDbObject::goodbye Method
Syntax
C++
virtual void goodbye(const OdDbObject* pObject);
Parameters 
Description 
const OdDbObject* pObject 
[in] Pointer to the object that is being deleted. 

Notification function called just before an object is deleted from memory. 

 

An object is deleted when its reference count reaches 0. 

The default implementation of this function does nothing. This function can be overridden in custom classes.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.