[#BloombergLP-bslalg-RbTreeNode-reset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]::reset
:relfileprefix: ../../../
:mrdocs:

Reset this object to have the specified `parent`, `leftChild`, `rightChild`, and `color` property values&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;rbtreenode&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(
    xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* parent,
    xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* leftChild,
    xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode]* rightChild,
    xref:BloombergLP/bslalg/RbTreeNode/Color-048.adoc[Color] color);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *parent*
| parent node, or 0 if this node is the root
| *leftChild*
| left&hyphen;child node, or 0 if none
| *rightChild*
| right&hyphen;child node, or 0 if none
| *color*
| color of this node
|===


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