DeSiGNAR
0.5a
Data Structures General Library
|
#include <nodesdef.H>
Classes | |
class | ChildrenIterator |
Public Types | |
using | KeyType = Key |
using | ValueType = Key |
using | ItemType = Key |
Public Member Functions | |
MTreeNode ()=default | |
MTreeNode (const Key &k) | |
MTreeNode (Key &&k) | |
Key & | get_key () |
const Key & | get_key () const |
MTreeNode * | get_first_child () const |
MTreeNode * | get_last_child () const |
MTreeNode * | get_right_sibling () const |
MTreeNode * | get_left_sibling () const |
bool | is_leaf () const |
bool | has_siblings () const |
bool | has_parent () const |
bool | has_children () const |
void | reset_sibling_info () |
void | reset () |
void | add_right_sibling (MTreeNode *s) |
void | add_left_sibling (MTreeNode *s) |
void | insert_child (MTreeNode *c) |
void | append_child (MTreeNode *c) |
MTreeNode * | remove_first_child () |
MTreeNode * | remove_last_child () |
template<class Op > | |
void | for_each_child (Op &) const |
template<class Op > | |
void | for_each_child (Op &&op=Op()) const |
Static Public Member Functions | |
static void | destroy_tree (MTreeNode *&) |
using Designar::MTreeNode< Key >::ItemType = Key |
using Designar::MTreeNode< Key >::KeyType = Key |
using Designar::MTreeNode< Key >::ValueType = Key |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
void Designar::MTreeNode< Key >::for_each_child | ( | Op & | op | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |