树
0.1
数据结构_第6章
|
#include <binTree.h>
Public Types | |
typedef T | value_type |
类型别名定义 More... | |
typedef value_type & | reference |
数据的引用 More... | |
typedef size_t | size_type |
计数器类型 More... | |
Public Member Functions | |
virtual void | clear ()=0 |
virtual bool | empty () const =0 |
virtual value_type | root (value_type flag) const =0 |
virtual value_type | parent (value_type x, value_type flag) const =0 |
virtual value_type | lchild (value_type x, value_type flag) const =0 |
virtual value_type | rchild (value_type x, value_type flag) const =0 |
virtual void | delLeft (value_type x)=0 |
virtual void | delRight (value_type x)=0 |
virtual void | preOrder () const =0 |
virtual void | inOrder () const =0 |
virtual void | postOrder () const =0 |
virtual void | levelOrder () const =0 |
Public Attributes | |
const typedef value_type & | const_reference |
数据的常量引用 More... | |
typedef value_type& Tree::binTree< T >::reference |
typedef size_t Tree::binTree< T >::size_type |
typedef T Tree::binTree< T >::value_type |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
const typedef value_type& Tree::binTree< T >::const_reference |