|
| | SimplePointer () |
| | 构造函数0 更多...
|
| |
| | SimplePointer (_Ty *p) |
| | 构造函数1_1 更多...
|
| |
| template<typename _Dt > |
| | SimplePointer (_Ty *p, _Dt dt) |
| | 构造函数1_2 更多...
|
| |
| template<typename _Ty2 > |
| | SimplePointer (_Ty2 *p) |
| | 构造函数2_1 更多...
|
| |
| template<typename _Ty2 , typename _Dt > |
| | SimplePointer (_Ty2 *p, _Dt dt) |
| | 构造函数2_2 更多...
|
| |
| | SimplePointer (SimplePointer const &other) |
| | 拷贝构造函数1 更多...
|
| |
| SimplePointer & | operator= (SimplePointer const &other) |
| | 拷贝赋值函数1 更多...
|
| |
| template<typename _Ty2 > |
| | SimplePointer (SimplePointer< _Ty2 > const &other) |
| | 拷贝构造函数2 更多...
|
| |
| template<typename _Ty2 > |
| SimplePointer & | operator= (SimplePointer< _Ty2 > const &other) |
| | 拷贝赋值函数2 更多...
|
| |
| void | attachNew (_Ty *p) |
| | 附加新指针,管理新对象 更多...
|
| |
| template<typename _Dt > |
| void | attachNew (_Ty *p, _Dt dt) |
| | 附加新指针,管理新对象 更多...
|
| |
| template<typename _Ty2 > |
| void | attachNew (_Ty2 *p) |
| | 附加新指针,管理新对象 更多...
|
| |
| template<typename _Ty2 , typename _Dt > |
| void | attachNew (_Ty2 *p, _Dt dt) |
| | 附加新指针,管理新对象 更多...
|
| |
| template<typename _Ty2 > |
| SimplePointer< _Ty2 > | cast () |
| | 把指针由_Ty转换成_Ty2类型 更多...
|
| |
| template<typename _Ty2 > |
| SimplePointer< _Ty2 > | ensureCast () |
| | 把指针由_Ty转换成_Ty2类型 更多...
|
| |
Public 成员函数 继承自 winux::SimpleHandle< _Ty * > |
| | SimpleHandle () |
| | 构造函数0 更多...
|
| |
| | SimpleHandle (_Ty * h, _Ty * failVal) |
| | 构造函数1_1 更多...
|
| |
| | SimpleHandle (_Ty * h, _Ty * failVal, _Dt dt) |
| | 构造函数1_2 更多...
|
| |
| | SimpleHandle (_HTy2 h, _HTy2 failVal) |
| | 构造函数2_1。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| | SimpleHandle (_HTy2 h, _HTy2 failVal, _Dt dt) |
| | 构造函数2_2。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| | SimpleHandle (SimpleHandle const &other) |
| | 拷贝构造函数1 更多...
|
| |
| | SimpleHandle (SimpleHandle< _HTy2 > const &other) |
| | 拷贝构造函数2。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| | ~SimpleHandle () |
| | 析构函数 更多...
|
| |
| SimpleHandle & | operator= (SimpleHandle const &other) |
| | 拷贝赋值函数1 更多...
|
| |
| SimpleHandle & | operator= (SimpleHandle< _HTy2 > const &other) |
| | 拷贝赋值函数2。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| void | attachNew (_Ty * h, _Ty * failVal) |
| | 附加新句柄,管理新资源 更多...
|
| |
| void | attachNew (_Ty * h, _Ty * failVal, _Dt dt) |
| | 附加新句柄,管理新资源 更多...
|
| |
| void | attachNew (_HTy2 h, _HTy2 failVal) |
| | 附加新句柄,管理新资源。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| void | attachNew (_HTy2 h, _HTy2 failVal, _Dt dt) |
| | 附加新句柄,管理新资源。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| void | attach (SimpleHandleData const &data) |
| | 附加其他SimpleHandle对象detach()出的句柄数据 更多...
|
| |
| void | attach (typename SimpleHandle< _HTy2 >::SimpleHandleData const &data) |
| | 附加其他SimpleHandle对象detach()出的句柄数据。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| void | attach (_HTy2 h, SimpleDeleterContext *ctx) |
| | 附加其他SimpleHandle对象detach()出的句柄和删除器场景。_HTy2为可直接转为_HTy的类型 更多...
|
| |
| SimpleHandleData | detach () |
| | 资源脱离管理,返回句柄数据 更多...
|
| |
| void | reset () |
| | 释放资源并重置 更多...
|
| |
| _Ty * | get () const |
| | 获取句柄 更多...
|
| |
| SimpleDeleterContext * | getContext () const |
| |
| | operator bool () const |
| | 判断是否在管理资源 更多...
|
| |
| bool | operator< (SimpleHandle const &other) const |
| | less,给MAP使用 更多...
|
| |
| _Ty * | operator-> () |
| |
| _Ty * | operator-> () const |
| |
template<typename _Ty>
class winux::SimplePointer< _Ty >
简单指针
在文件 smartptr.hpp 第 302 行定义.