#include <sharedptr.h>
Public Member Functions | |
| CL_SharedPtr () | |
| CL_SharedPtr (const CL_SharedPtr< Type > ©) | |
| template<typename InitType > | |
| CL_SharedPtr (InitType *ptr, CL_MemoryPool *memory_pool) | |
| template<typename InitType > | |
| CL_SharedPtr (InitType *ptr, void(*free_callback)(InitType *ptr)) | |
| template<typename InitType > | |
| CL_SharedPtr (InitType *ptr) | |
| template<typename InitType , typename FreeClass > | |
| CL_SharedPtr (InitType *ptr, FreeClass *free_class, void(FreeClass::*free_callback)(InitType *ptr)) | |
| CL_SharedPtr (CL_SharedPtrData *other) | |
| ~CL_SharedPtr () | |
| bool | disconnect () |
| const Type * | get () const |
| Retrieves the pointer. | |
| Type * | get () |
| Retrieves the pointer. | |
| bool | is_null () const |
| Tests if the pointer is unset. | |
| template<typename InitType > | |
| operator CL_SharedPtr< InitType > () | |
| template<typename InitType > | |
| operator CL_SharedPtr< InitType > () const | |
| operator const Type * () const | |
| operator Type * () | |
| template<typename OtherType > | |
| bool | operator!= (OtherType *other) const |
| Type * | operator-> () |
| const Type * | operator-> () const |
| template<typename OtherType > | |
| bool | operator< (OtherType *other) const |
| template<typename OtherType > | |
| bool | operator<= (OtherType *other) const |
| CL_SharedPtr & | operator= (const CL_SharedPtr ©) |
| template<typename OtherType > | |
| bool | operator== (OtherType *other) const |
| template<typename OtherType > | |
| bool | operator> (OtherType *other) const |
| template<typename OtherType > | |
| bool | operator>= (OtherType *other) const |
Friends | |
| class | CL_WeakPtr< Type > |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | ) | [inline] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | const CL_SharedPtr< Type > & | copy | ) | [inline] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | InitType * | ptr | ) | [inline, explicit] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | InitType * | ptr, | |
| CL_MemoryPool * | memory_pool | |||
| ) | [inline, explicit] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | InitType * | ptr, | |
| void(*)(InitType *ptr) | free_callback | |||
| ) | [inline, explicit] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | InitType * | ptr, | |
| FreeClass * | free_class, | |||
| void(FreeClass::*)(InitType *ptr) | free_callback | |||
| ) | [inline, explicit] |
| CL_SharedPtr< Type >::CL_SharedPtr | ( | CL_SharedPtrData * | other | ) | [inline] |
| CL_SharedPtr< Type >::~CL_SharedPtr | ( | ) | [inline] |
| bool CL_SharedPtr< Type >::disconnect | ( | ) | [inline] |
| Type* CL_SharedPtr< Type >::get | ( | ) | [inline] |
Retrieves the pointer.
| const Type* CL_SharedPtr< Type >::get | ( | ) | const [inline] |
Retrieves the pointer.
| bool CL_SharedPtr< Type >::is_null | ( | ) | const [inline] |
Tests if the pointer is unset.
Referenced by CL_ToolBarItem::is_null(), CL_Texture::is_null(), CL_PrimitivesArray::is_null(), CL_PopupMenuItem::is_null(), CL_HTTPServerConnection::is_null(), CL_Callback_v5< P1, P2, P3, P4, P5 >::is_null(), CL_Callback_v4< P1, P2, P3, P4 >::is_null(), CL_Callback_v3< CL_GUITopLevelWindow *, const CL_InputEvent &, const CL_InputState & >::is_null(), CL_Callback_v2< CL_GUITopLevelWindow *, const CL_Size & >::is_null(), CL_Callback_v1< CL_Rect & >::is_null(), CL_Callback_v0::is_null(), CL_Callback_5< RetVal, P1, P2, P3, P4, P5 >::is_null(), CL_Callback_4< RetVal, P1, P2, P3, P4 >::is_null(), CL_Callback_3< RetVal, P1, P2, P3 >::is_null(), CL_Callback_2< RetVal, P1, P2 >::is_null(), CL_Callback_1< RetVal, P1 >::is_null(), CL_Callback_0< bool >::is_null(), and CL_AcceleratorKey::is_null().
| CL_SharedPtr< Type >::operator CL_SharedPtr< InitType > | ( | ) | const [inline] |
| CL_SharedPtr< Type >::operator CL_SharedPtr< InitType > | ( | ) | [inline] |
| CL_SharedPtr< Type >::operator const Type * | ( | ) | const [inline] |
| CL_SharedPtr< Type >::operator Type * | ( | ) | [inline] |
| bool CL_SharedPtr< Type >::operator!= | ( | OtherType * | other | ) | const [inline] |
| Type* CL_SharedPtr< Type >::operator-> | ( | ) | [inline] |
| const Type* CL_SharedPtr< Type >::operator-> | ( | ) | const [inline] |
| bool CL_SharedPtr< Type >::operator< | ( | OtherType * | other | ) | const [inline] |
| bool CL_SharedPtr< Type >::operator<= | ( | OtherType * | other | ) | const [inline] |
| CL_SharedPtr& CL_SharedPtr< Type >::operator= | ( | const CL_SharedPtr< Type > & | copy | ) | [inline] |
| bool CL_SharedPtr< Type >::operator== | ( | OtherType * | other | ) | const [inline] |
| bool CL_SharedPtr< Type >::operator> | ( | OtherType * | other | ) | const [inline] |
| bool CL_SharedPtr< Type >::operator>= | ( | OtherType * | other | ) | const [inline] |
friend class CL_WeakPtr< Type > [friend] |
| CL_SharedPtrData* CL_SharedPtr< Type >::data |
| Type** CL_SharedPtr< Type >::p |
1.7.1