Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fxcrt::TreeNode< T > Class Template Reference

#include <tree_node.h>

+ Inheritance diagram for fxcrt::TreeNode< T >:
+ Collaboration diagram for fxcrt::TreeNode< T >:

Public Member Functions

 TreeNode ()=default
 
virtual ~TreeNode ()=default
 
- Public Member Functions inherited from fxcrt::TreeNodeBase< T >
 TreeNodeBase ()=default
 
virtual ~TreeNodeBase ()=default
 
T * GetParent () const
 
T * GetFirstChild () const
 
T * GetLastChild () const
 
T * GetNextSibling () const
 
T * GetPrevSibling () const
 
bool HasChild (const T *child) const
 
T * GetNthChild (int32_t n)
 
void AppendFirstChild (T *child)
 
void AppendLastChild (T *child)
 
void InsertBefore (T *child, T *other)
 
void InsertAfter (T *child, T *other)
 
void RemoveChild (T *child)
 
void RemoveAllChildren ()
 
void RemoveSelfIfParented ()
 

Friends

class TreeNodeBase< T >
 

Detailed Description

template<typename T>
class fxcrt::TreeNode< T >

Definition at line 178 of file tree_node.h.

Constructor & Destructor Documentation

◆ TreeNode()

template<typename T >
fxcrt::TreeNode< T >::TreeNode ( )
default

◆ ~TreeNode()

template<typename T >
virtual fxcrt::TreeNode< T >::~TreeNode ( )
virtualdefault

Friends And Related Symbol Documentation

◆ TreeNodeBase< T >

template<typename T >
friend class TreeNodeBase< T >
friend

Definition at line 181 of file tree_node.h.


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