Proctor that cleans up a managed ObjectCatalog node on destruction.
Declared in <bdlcc_objectcatalog.h>
template<class TYPE>
class ObjectCatalog_AutoCleanup;
This class provides a specialized proctor object that, upon destruction and unless the release method is called (1) removes a managed node from the ObjectCatalog, and (2) deallocates all associated memory as necessary.
| Name | Description |
|---|---|
ObjectCatalog_AutoCleanup [constructor] | Create a proctor to manage the specified catalog. |
~ObjectCatalog_AutoCleanup [destructor] | Destroy this proctor and dispose of any managed node. |
manageNode | Begin managing the specified catalog node. |
release | Release from management all resources currently managed by this object, if any. |
releaseNode | Release from management the catalog node, if any, currently managed by this object, if any. |