Ember
Loading...
Searching...
No Matches
NodeTreeItemData Class Reference

Tree item data wrapper for storing node pointers. More...

#include <SceneHierarchyTab.h>

Inheritance diagram for NodeTreeItemData:

Public Member Functions

 NodeTreeItemData (EmberCore::Node *node)
 Constructor.
EmberCore::Node * GetNode () const
 Get the associated node.

Private Attributes

EmberCore::Node * m_node
 The associated node.

Detailed Description

Tree item data wrapper for storing node pointers.

Associates a Node pointer with each tree control item, allowing retrieval of the node when an item is selected.

Definition at line 19 of file SceneHierarchyTab.h.

Constructor & Destructor Documentation

◆ NodeTreeItemData()

NodeTreeItemData::NodeTreeItemData ( EmberCore::Node * node)
inline

Constructor.

Parameters
nodePointer to the node this item represents

Definition at line 25 of file SceneHierarchyTab.h.

Member Function Documentation

◆ GetNode()

EmberCore::Node * NodeTreeItemData::GetNode ( ) const
inline

Get the associated node.

Returns
Pointer to the node

Definition at line 31 of file SceneHierarchyTab.h.

Member Data Documentation

◆ m_node

EmberCore::Node* NodeTreeItemData::m_node
private

The associated node.

Definition at line 34 of file SceneHierarchyTab.h.


The documentation for this class was generated from the following file: