Proctor that cleans up a managed ObjectCatalog node on destruction.
Synopsis
Declared in <bdlcc_objectcatalog.h>
template<class TYPE>
class ObjectCatalog_AutoCleanup;
Description
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.
Member Functions
Name |
Description |
|
Create a proctor to manage the specified |
|
Destroy this proctor and dispose of any managed node. |
Begin managing the specified catalog |
|
Release from management all resources currently managed by this object, if any. |
|
Release from management the catalog node, if any, currently managed by this object, if any. |
Created with MrDocs