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

#include <KisForest.h>

+ Inheritance diagram for KisForestDetail::Node< T >:

Public Member Functions

template<typename X >
 Node (X &&newValue)
 
- Public Member Functions inherited from KisForestDetail::RootNodeImpl< Base >
bool isRoot () const
 

Public Attributes

value
 
- Public Attributes inherited from KisForestDetail::BaseNode< Node< T > >
Node< T > * nextSibling
 
Node< T > * prevSibling
 
- Public Attributes inherited from KisForestDetail::RootNodeImpl< Base >
Base * firstChild = nullptr
 
Base * lastChild = nullptr
 
RootNodeImpl< Base > * parent = nullptr
 

Detailed Description

template<typename T>
struct KisForestDetail::Node< T >

Definition at line 42 of file KisForest.h.

Constructor & Destructor Documentation

◆ Node()

template<typename T >
template<typename X >
KisForestDetail::Node< T >::Node ( X && newValue)
inlineexplicit

Definition at line 45 of file KisForest.h.

46 : value(std::forward<X>(newValue))
47 {
48 }

Member Data Documentation

◆ value

template<typename T >
T KisForestDetail::Node< T >::value

Definition at line 50 of file KisForest.h.


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