BloombergLP::bdlcc::ObjectCatalog_AutoCleanup::manageNode

Begin managing the specified catalog node.

Synopsis

Declared in <bdlcc_objectcatalog.h>

void
manageNode(
    ObjectCatalog<TYPE>::Node* node,
    bool deallocateFlag);

Description

Release from management the catalog node, if any, currently managed by this object and begin managing the specified catalog node. The specified deallocateFlag tells the destructor how to dispose of node if node is managed during the destruction of this object.

Parameters

NameDescription
nodecatalog node to manage
deallocateFlagif true, deallocate via the node pool; otherwise return the node to the free list