树
0.1
数据结构_第6章
|
#include <Tree.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 | isEmpty () 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 | child (value_type x, size_type i, value_type flag) const =0 |
virtual void | remove (value_type x, size_type i)=0 |
virtual void | traverse () const =0 |
Public Attributes | |
const typedef value_type & | const_reference |
数据的常量引用 More... | |
typedef value_type& Tree::Tree< T >::reference |
typedef size_t Tree::Tree< T >::size_type |
typedef T Tree::Tree< T >::value_type |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
const typedef value_type& Tree::Tree< T >::const_reference |