用于 DICTIONARY 类型列中索引的强类型封装器。 更多...
#include <dictionary.hpp>
公共类型 | |
| using | value_type = IndexType |
| 字典的基础类型。 | |
公共成员函数 | |
| dictionary_wrapper (dictionary_wrapper &&)=default | |
| 移动构造函数。 | |
| dictionary_wrapper (dictionary_wrapper const &)=default | |
| 拷贝构造函数。 | |
| dictionary_wrapper & | operator= (dictionary_wrapper &&)=default |
| 移动赋值运算符。 更多... | |
| dictionary_wrapper & | operator= (dictionary_wrapper const &)=default |
| 拷贝赋值运算符。 更多... | |
| constexpr CUDF_HOST_DEVICE | dictionary_wrapper (value_type v) |
| 从一个值构造 dictionary_wrapper。 更多... | |
| CUDF_HOST_DEVICE | operator value_type () const |
| 转换运算符。 更多... | |
| CUDF_HOST_DEVICE value_type | value () const |
| 简单访问器。 更多... | |
静态公共成员函数 | |
| static constexpr CUDF_HOST_DEVICE value_type | max_value () |
| 返回值类型的最大值。 更多... | |
| static constexpr CUDF_HOST_DEVICE value_type | min_value () |
| 返回值类型的最小值。 更多... | |
| static constexpr CUDF_HOST_DEVICE value_type | lowest_value () |
| 返回值类型的最低值。 更多... | |
用于 DICTIONARY 类型列中索引的强类型封装器。
IndexType 将是像 int32_t 这样的整数类型。
例如,dictionary32 是围绕 int32_t 值的强类型封装器,它保存特定元素在字典键中的偏移量。
此封装器提供了 IndexType 的常用转换和比较操作。
定义于文件 dictionary.hpp 的 49 行。
|
inlineexplicitconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlineexplicit |
|
default |
移动赋值运算符。
|
default |
拷贝赋值运算符。
|
inline |