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

#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_cgetTreeNext () const
 Gets the next node in preorder traversal order.
 
fTrNdBa_cgetTreeNextNotChild () const
 Gets the next node in preorder traversal order, excluding the node's children.
 
fTrNdBa_cgetParent () const
 
fTrNdBa_cgetChild () const
 
fTrNdBa_cgetBrPrev () const
 
fTrNdBa_cgetBrNext () const
 
- Public Member Functions inherited from cTreeNd_c
 cTreeNd_c ()
 Constructs a new tree node.
 
cTreeNd_cgetTreeNext () const
 Gets the next node in preorder traversal order.
 
cTreeNd_cgetTreeNextNotChild () const
 Gets the next node in preorder traversal order, excluding the node's children.
 
cTreeNd_cgetParent () const
 
cTreeNd_cgetChild () const
 
cTreeNd_cgetBrPrev () const
 
cTreeNd_cgetBrNext () const
 

Public Attributes

fBase_cmpOwner
 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_cmpParent
 The parent node.
 
cTreeNd_cmpChild
 The child node.
 
cTreeNd_cmpPrev
 The previous sibling node.
 
cTreeNd_cmpNext
 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.