14#error This file is intended for use with C++ only
28#define DECL_SMART_PTR(cls) \
29 typedef EDL::shared_ptr<cls> cls##Ptr; \
30 typedef EDL::shared_ptr<const cls> cls##ConstPtr;
75 if ((
m_ptr = src.operator T1 *()))
131 if (bAddref &&
m_ptr)
175 if ((
m_ptr = src.operator T *()))
198 operator const T*()
const
211#define DECL_SMART_PTR(cls) typedef EDL::shared_ptr<cls> cls##Ptr; typedef EDL::shared_constptr<cls> cls##ConstPtr;
215#define CSmartPtr EDL::shared_ptr
shared_constptr()
Definition smartptr.h:121
shared_constptr(const shared_constptr< T > &src)
Definition smartptr.h:161
shared_constptr(const T *src, bool bAddref)
Definition smartptr.h:129
shared_constptr & operator=(const T *src)
Definition smartptr.h:191
shared_constptr(const shared_ptr< T1 > &src)
Definition smartptr.h:156
shared_constptr(const shared_constptr< T1 > &src)
Definition smartptr.h:150
const T * operator->() const
Definition smartptr.h:202
shared_ptr< T1 > getPtr(T1 *fake)
Definition smartptr.h:140
T * m_ptr
Definition smartptr.h:208
shared_constptr< T1 > getConstPtr(T1 *fake)
Definition smartptr.h:135
shared_constptr & operator=(const shared_ptr< T > &src)
Definition smartptr.h:172
shared_ptr< T > unConst()
Definition smartptr.h:144
shared_constptr(const T *src)
Definition smartptr.h:124
shared_constptr & operator=(const shared_constptr< T > &src)
Definition smartptr.h:182
~shared_constptr()
Definition smartptr.h:166
T * operator->() const
Definition smartptr.h:103
shared_ptr & operator=(T *src)
Definition smartptr.h:90
~shared_ptr()
Definition smartptr.h:58
shared_ptr(T *src=NULL, bool bAddref=true)
Definition smartptr.h:39
T * m_ptr
Definition smartptr.h:114
shared_ptr< T > & operator=(const shared_ptr< T > &src)
Definition smartptr.h:80
shared_ptr< T > & operator=(const shared_ptr< T1 > &src)
Definition smartptr.h:71
shared_ptr(const shared_ptr< T > &src)
Definition smartptr.h:52
shared_ptr< T1 > getPtr(T1 *fake) const
Definition smartptr.h:65
T * get()
Definition smartptr.h:108
shared_ptr(const shared_ptr< T1 > &src)
Definition smartptr.h:46
#define _BEGIN_EDL_NAMESPACE
Definition edlnamespaces.h:75
#define _END_EDL_NAMESPACE
Definition edlnamespaces.h:76