Lines Matching refs:m_pObj
190 /* ctor */ SharedPtr() : m_pObj( NULL ), m_pCnt( NULL ), m_pAllocator( NULL ) {} in SharedPtr()
200 : m_pObj( pObj ), in m_pObj() function
224 : m_pObj( other.m_pObj ), in SharedPtr()
241 : m_pObj( other.m_pObj ),
257 : m_pObj( other.m_pObj ), in SharedPtr()
267 m_pObj = NULL; in SharedPtr()
283 m_pObj->~TObj(); in ~SharedPtr()
284 m_pAllocator->Free( m_pObj ); in ~SharedPtr()
288 delete m_pObj; in ~SharedPtr() local
346 TObj* Get() const { return m_pObj; } in Get()
353 TObj& operator * () const { NW_NULL_ASSERT( m_pObj ); return *m_pObj; }
360 TObj* operator -> () const { NW_NULL_ASSERT( m_pObj ); return m_pObj; }
367 operator bool () const { return NULL != m_pObj; }
390 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
395 TObj* m_pObj; variable
451 /* ctor */ WeakPtr() : m_pObj( NULL ), m_pCnt( NULL ), m_pAllocator( NULL ) in WeakPtr()
462 : m_pObj(other.m_pObj), in WeakPtr()
479 : m_pObj(other.m_pObj), in WeakPtr()
548 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
553 TObj* m_pObj; variable