NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/framework/f_tree_nd.hpp>

Inheritance diagram for fTrNdBa_c:
[legend]

Description

A base tree node.

Each node is owned by a base and represents it in the tree.

Decompilation Note
The class name stands for "Tree Node (with) Base".

Definition at line 12 of file f_tree_nd.hpp.

Public Member Functions

 fTrNdBa_c (fBase_c *owner)
 Constructs a new tree node.
fTrNdBa_c * getTreeNext () const
 Gets the next node in preorder traversal order.
fTrNdBa_c * getTreeNextNotChild () const
 Gets the next node in preorder traversal order, excluding the node's children.
fTrNdBa_c * getParent () const
fTrNdBa_c * getChild () const
fTrNdBa_c * getBrPrev () const
fTrNdBa_c * getBrNext () const
Public Member Functions inherited from cTreeNd_c
 cTreeNd_c ()
 Constructs a new tree node.
cTreeNd_c * getTreeNext () const
 Gets the next node in preorder traversal order.
cTreeNd_c * getTreeNextNotChild () const
 Gets the next node in preorder traversal order, excluding the node's children.
cTreeNd_c * getParent () const
cTreeNd_c * getChild () const
cTreeNd_c * getBrPrev () const
cTreeNd_c * getBrNext () const

Public Attributes

fBase_c * mpOwner
 The owner of this node.

Additional Inherited Members

Protected Member Functions inherited from cTreeNd_c
void forcedClear ()
 Clears all fields.
Protected Attributes inherited from cTreeNd_c
cTreeNd_c * mpParent
 The parent node.
cTreeNd_c * mpChild
 The child node.
cTreeNd_c * mpPrev
 The previous sibling node.
cTreeNd_c * mpNext
 The next sibling node.

Constructor & Destructor Documentation

◆ fTrNdBa_c()

fTrNdBa_c::fTrNdBa_c ( fBase_c * owner)
inline

Constructs a new tree node.

Parameters
ownerThe node's owner.

Definition at line 17 of file f_tree_nd.hpp.

Member Function Documentation

◆ getTreeNext()

fTrNdBa_c * fTrNdBa_c::getTreeNext ( ) const
inline

Gets the next node in preorder traversal order.

Definition at line 20 of file f_tree_nd.hpp.

◆ getTreeNextNotChild()

fTrNdBa_c * fTrNdBa_c::getTreeNextNotChild ( ) const
inline

Gets the next node in preorder traversal order, excluding the node's children.

Definition at line 25 of file f_tree_nd.hpp.

◆ getParent()

fTrNdBa_c * fTrNdBa_c::getParent ( ) const
inline

Definition at line 29 of file f_tree_nd.hpp.

◆ getChild()

fTrNdBa_c * fTrNdBa_c::getChild ( ) const
inline

Definition at line 33 of file f_tree_nd.hpp.

◆ getBrPrev()

fTrNdBa_c * fTrNdBa_c::getBrPrev ( ) const
inline

Definition at line 37 of file f_tree_nd.hpp.

◆ getBrNext()

fTrNdBa_c * fTrNdBa_c::getBrNext ( ) const
inline

Definition at line 41 of file f_tree_nd.hpp.

Member Data Documentation

◆ mpOwner

fBase_c* fTrNdBa_c::mpOwner

The owner of this node.

Definition at line 45 of file f_tree_nd.hpp.