Krita Source Code Documentation
Loading...
Searching...
No Matches
KisForestDetail::RootNodeImpl< Base > Struct Template Reference

#include <KisForest.h>

+ Inheritance diagram for KisForestDetail::RootNodeImpl< Base >:

Public Member Functions

bool isRoot () const
 

Public Attributes

Base * firstChild = nullptr
 
Base * lastChild = nullptr
 
RootNodeImpl< Base > * parent = nullptr
 

Detailed Description

template<typename Base>
struct KisForestDetail::RootNodeImpl< Base >

Definition at line 22 of file KisForest.h.

Member Function Documentation

◆ isRoot()

template<typename Base >
bool KisForestDetail::RootNodeImpl< Base >::isRoot ( ) const
inline

Definition at line 28 of file KisForest.h.

28 {
29 return !parent;
30 }
RootNodeImpl< Base > * parent
Definition KisForest.h:24

References KisForestDetail::RootNodeImpl< Base >::parent.

Member Data Documentation

◆ firstChild

template<typename Base >
Base* KisForestDetail::RootNodeImpl< Base >::firstChild = nullptr

Definition at line 25 of file KisForest.h.

◆ lastChild

template<typename Base >
Base* KisForestDetail::RootNodeImpl< Base >::lastChild = nullptr

Definition at line 26 of file KisForest.h.

◆ parent

template<typename Base >
RootNodeImpl<Base>* KisForestDetail::RootNodeImpl< Base >::parent = nullptr

Definition at line 24 of file KisForest.h.


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