[#BloombergLP-bdlcc-ObjectCatalog_AutoCleanup-manageNode]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectCatalog_AutoCleanup.adoc[ObjectCatalog&lowbar;AutoCleanup]::manageNode
:relfileprefix: ../../../
:mrdocs:

Begin managing the specified catalog `node`&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;objectcatalog&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
manageNode(
    ObjectCatalog&lt;TYPE&gt;::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`&period; The specified `deallocateFlag` tells the destructor how to dispose of `node` if `node` is managed during the destruction of this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| catalog node to manage
| *deallocateFlag*
| if `true`, deallocate via the node pool&semi; otherwise return the node to the free list
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
