|
| SharedPointer () |
|
| SharedPointer (_Ty *p) |
|
template<typename _Dt > |
| SharedPointer (_Ty *p, _Dt dt) |
|
template<typename _Ty2 > |
| SharedPointer (_Ty2 *p) |
|
template<typename _Ty2 , typename _Dt > |
| SharedPointer (_Ty2 *p, _Dt dt) |
|
| SharedPointer (SharedPointer const &other) |
|
SharedPointer & | operator= (SharedPointer const &other) |
|
template<typename _Ty2 > |
| SharedPointer (SharedPointer< _Ty2 > const &other) |
|
template<typename _Ty2 > |
SharedPointer & | operator= (SharedPointer< _Ty2 > const &other) |
|
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 > |
SharedPointer< _Ty2 > | cast () |
| 把指针由_Ty转换成_Ty2类型 更多...
|
|
template<typename _Ty2 > |
SharedPointer< _Ty2 > | ensureCast () |
| 把指针由_Ty转换成_Ty2类型 更多...
|
|
Public 成员函数 继承自 winux::SharedHandle< _Ty * > |
| SharedHandle () |
|
| SharedHandle (_Ty * h, _Ty * failVal) |
|
| SharedHandle (_Ty * h, _Ty * failVal, _Dt dt) |
|
| SharedHandle (_HTy2 h, _HTy2 failVal) |
|
| SharedHandle (_HTy2 h, _HTy2 failVal, _Dt dt) |
|
| SharedHandle (SharedHandle const &other) |
|
| SharedHandle (SharedHandle< _HTy2 > const &other) |
|
virtual | ~SharedHandle () |
|
SharedHandle & | operator= (SharedHandle const &other) |
|
SharedHandle & | operator= (SharedHandle< _HTy2 > const &other) |
|
void | attachNew (_Ty * h, _Ty * failVal) |
|
void | attachNew (_Ty * h, _Ty * failVal, _Dt dt) |
|
void | attachNew (_HTy2 h, _HTy2 failVal) |
|
void | attachNew (_HTy2 h, _HTy2 failVal, _Dt dt) |
|
void | attach (SharedHandleData const &data, bool isIncRef) |
| 管理一个资源 更多...
|
|
void | attach (typename SharedHandle< _HTy2 >::SharedHandleData const &data, bool isIncRef) |
| 管理一个资源 更多...
|
|
void | attach (_HTy2 h, SharedDeleterContext *ctx, bool isIncRef) |
| 管理一个资源 更多...
|
|
SharedHandleData | detach () |
|
SharedHandleData | peek () const |
|
void | reset () |
|
_Ty * | get () const |
|
| operator bool () const |
|
_Ty * | operator-> () |
|
_Ty * | operator-> () const |
|
template<typename _Ty>
class winux::SharedPointer< _Ty >
在文件 smartptr.hpp 第 642 行定义.