![]() |
Kale
|
#include <Tree.hpp>
Classes | |
struct | Child |
struct | RawIterator |
Public Types | |
using | Iterator = RawIterator<Child> |
using | ConstIterator = RawIterator<const Child> |
Public Member Functions | |
Tree () | |
Tree (const T &value) | |
Tree (Tree &&other)=delete | |
void | operator= (Tree &&other)=delete |
Iterator | begin () |
ConstIterator | cbegin () const |
Iterator | end () |
ConstIterator | cend () const |
Child & | front () |
const Child & | front () const |
Child & | back () |
const Child & | back () const |
const Child & | operator() (size_t horizontal, size_t vertical) const |
Child & | operator() (size_t horizontal, size_t vertical) |
Public Attributes | |
std::unique_ptr< Child > | root |
Private Attributes | |
Child * | backPtr |
Friends | |
struct | Child |
struct | RawIterator< Child > |
struct | RawIterator< const Child > |
Represents a tree based data structure
T | The structure to be holding in each tree leaf node |
using Kale::Tree< T >::ConstIterator = RawIterator<const Child> |
using Kale::Tree< T >::Iterator = RawIterator<Child> |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
friend |
|
friend |
|
private |
std::unique_ptr<Child> Kale::Tree< T >::root |