![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <container/Tree.hpp>


Public Types | |
| typedef std::size_t | Size |
| typedef ValueType | Value |
Public Member Functions | |
| virtual void | createSubTree (const Size &no, const Value &value)=0 |
| virtual Size | getNoOfSubtrees () const =0 |
| virtual const Tree *const | getSubTree (const Size &no) const =0 |
| virtual Tree * | getSubTree (const Size &no)=0 |
| virtual const Value & | getValue () const |
| virtual bool | hasSubTree (const Size &no)=0 |
| virtual void | linkSubTree (const Size &no, Tree *subTree)=0 |
| virtual void | setValue (const Value &value) |
| virtual | ~Tree () |
Protected Member Functions | |
| Tree (const Value &value) | |
Protected Attributes | |
| Tree * | father |
Private Attributes | |
| Value | value |
Definition at line 49 of file Tree.hpp.
| typedef std::size_t wns::container::Tree< ValueType, CleanupStrategy >::Size |
Reimplemented in wns::container::BinaryTree< ValueType, CleanupStrategy >.
| typedef ValueType wns::container::Tree< ValueType, CleanupStrategy >::Value |
Reimplemented in wns::container::BinaryTree< ValueType, CleanupStrategy >.
| virtual wns::container::Tree< ValueType, CleanupStrategy >::~Tree | ( | ) | [inline, virtual] |
| wns::container::Tree< ValueType, CleanupStrategy >::Tree | ( | const Value & | value | ) | [inline, protected] |
| virtual void wns::container::Tree< ValueType, CleanupStrategy >::createSubTree | ( | const Size & | no, | |
| const Value & | value | |||
| ) | [pure virtual] |
| virtual Size wns::container::Tree< ValueType, CleanupStrategy >::getNoOfSubtrees | ( | ) | const [pure virtual] |
Implemented in wns::container::BinaryTree< ValueType, CleanupStrategy >.
| virtual const Tree* const wns::container::Tree< ValueType, CleanupStrategy >::getSubTree | ( | const Size & | no | ) | const [pure virtual] |
| virtual Tree* wns::container::Tree< ValueType, CleanupStrategy >::getSubTree | ( | const Size & | no | ) | [pure virtual] |
| virtual const Value& wns::container::Tree< ValueType, CleanupStrategy >::getValue | ( | ) | const [inline, virtual] |
| virtual bool wns::container::Tree< ValueType, CleanupStrategy >::hasSubTree | ( | const Size & | no | ) | [pure virtual] |
| virtual void wns::container::Tree< ValueType, CleanupStrategy >::linkSubTree | ( | const Size & | no, | |
| Tree< ValueType, CleanupStrategy > * | subTree | |||
| ) | [pure virtual] |
| virtual void wns::container::Tree< ValueType, CleanupStrategy >::setValue | ( | const Value & | value | ) | [inline, virtual] |
Tree* wns::container::Tree< ValueType, CleanupStrategy >::father [protected] |
Value wns::container::Tree< ValueType, CleanupStrategy >::value [private] |
1.5.5