YSTest: ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp > 模板结构体 参考

YSTest PreAlpha_b900_20201012 The YSLib Test Project

Public 类型 | Public 成员函数 | Public 属性 | 所有成员列表
ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp > 模板结构体 参考

`#include <tree.h>`

类 ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp > 继承关系图:
[图例]
ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp > 的协作图:
[图例]

## Public 类型

using | base_key_compare = tree_key_compare< _tKeyComp >

## Public 成员函数

| components ()
| components (node_allocator a)
| components (const _tKeyComp &comp, node_allocator &&a)
| components (const components &x)
| components (components &&)=default
| components (components &&x, node_allocator a)
void | move_data (components &from)
Public 成员函数 继承自 ystdex::details::rb_tree::tree_key_compare< _tKeyComp >
| tree_key_compare ()
| tree_key_compare (const _tKeyComp &comp)
| tree_key_compare (const tree_key_compare &)=default
| tree_key_compare (tree_key_compare &&x)

## Public 属性

tree_header | header {}
Public 属性 继承自 ystdex::details::rb_tree::tree_key_compare< _tKeyComp >
_tKeyComp | key_compare {}

## 详细描述

### template<typename _tKey, typename _type, typename _fKeyOfValue, typename _fComp, class _tAlloc>
template<typename _tKeyComp>
struct ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >

在文件 tree.h 第 825 行定义.

## 成员类型定义说明

## ◆ base_key_compare

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

using ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::base_key_compare = tree_key_compare<_tKeyComp>

在文件 tree.h 第 827 行定义.

## 构造及析构函数说明

## ◆ components() [1/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( |  | ) |

inline

自从
  build 864

在文件 tree.h 第 832 行定义.

## ◆ components() [2/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( | node_allocator | a | ) |

inlineexplicit

自从
  build 867

在文件 tree.h 第 838 行定义.

## ◆ components() [3/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( | const _tKeyComp & | comp,
|  | node_allocator && | a
| ) |  |

inline

在文件 tree.h 第 841 行定义.

## ◆ components() [4/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( | const components< _tKeyComp > & | x | ) |

inline

在文件 tree.h 第 844 行定义.

## ◆ components() [5/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( | components< _tKeyComp > && |  | ) |

default

## ◆ components() [6/6]

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::components | ( | components< _tKeyComp > && | x,
|  | node_allocator | a
| ) |  |

inline

自从
  build 867

在文件 tree.h 第 851 行定义.

## 成员函数说明

## ◆ move_data()

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

void ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::move_data | ( | components< _tKeyComp > & | from | ) |

inline

自从
  build 865

在文件 tree.h 第 858 行定义.

被这些函数引用 ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::move_data().

这是这个函数的调用关系图:

## 类成员变量说明

## ◆ header

template<typename _tKey , typename _type , typename _fKeyOfValue , typename _fComp , class _tAlloc >
template<typename _tKeyComp >

tree_header ystdex::details::rb_tree::tree< _tKey, _type, _fKeyOfValue, _fComp, _tAlloc >::components< _tKeyComp >::header {}

在文件 tree.h 第 829 行定义.

被这些函数引用 ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::assign_equal(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::assign_unique(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::attach_node(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::begin(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::clear(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::copy_node(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::detach_node(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::empty(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::end(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::extract(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::leftmost(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::move_assign_elements(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::node_begin(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::node_end(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::operator=(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::rb_verify(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::rightmost(), ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::root() , 以及 ystdex::details::rb_tree::tree< key_type, value_type, first_of<>, key_compare, allocator_type >::size().

该结构体的文档由以下文件生成:

- tree.h