Basic tree template class. Enables attaching and detaching nodes.
More...
#include <TreePtr.h>
|
|
TreePtr & | operator= (const TreePtr &)=delete |
| |
|
| TreePtr (const TreePtr &)=delete |
| |
|
TreePtr & | operator= (TreePtr &&)=default |
| |
|
| TreePtr (TreePtr &&)=default |
| |
|
void | attach (std::unique_ptr< T > &&node) |
| |
|
template<typename TNode , typename... TArguments> |
| void | attachNew (TArguments...args) |
| |
|
void | detach (T *node) |
| |
|
virtual void | onAttached (ITreeNode *) |
| |
|
virtual void | onDetached () |
| |
|
void | detachChildren () |
| |
|
bool | isAttachedDetached () |
| |
|
|
bool | mFlagAttachedDetached |
| |
|
|
vec< std::unique_ptr< T > > | mChildren |
| |
template<class T, class C = ITreeNode>
class flw::flf::TreePtr< T, C >
Basic tree template class. Enables attaching and detaching nodes.
- Template Parameters
-
| T | - type of the smart pointers kept in this tree |
| C | - base class for this node |
The documentation for this class was generated from the following file:
- /home/filip/Projects/fillwave/inc/flw/flf/models/base/TreePtr.h