![]() |
Kale
|
#include <Tree.hpp>
Public Member Functions | |
Child (Tree &tree) | |
Child (Tree &tree, const T &value) | |
Child (Child &parent) | |
Child (Child &parent, const T &value) | |
~Child () | |
Child (const Child &other)=delete | |
Child (Child &&other)=delete | |
void | operator= (const Child &other)=delete |
void | operator= (Child &&other)=delete |
Child & | addChild () |
Child & | addChild (const T &value) |
void | removeChild (size_t horizontal) |
const T * | operator-> () const |
T * | operator-> () |
const T & | getValue () const |
T & | getValue () |
const Child * | getNext () const |
Child * | getNext () |
const Child * | getPrevious () const |
Child * | getPrevious () |
const Child * | getParent () const |
Child * | getParent () |
size_t | getHorizontalIndex () const |
size_t | getVerticalIndex () const |
const std::list< Child > & | getChildren () const |
std::list< Child > & | getChildren () |
Private Member Functions | |
void | setup () |
Private Attributes | |
Child * | next = nullptr |
Child * | previous = nullptr |
Child * | parent = nullptr |
Tree & | tree |
std::list< Child > | children |
size_t | horizontal |
size_t | vertical |
T | value |
Friends | |
class | Tree< T > |
Represents a single child in the tree
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |