Lines Matching refs:m_pObj
192 /* ctor */ SharedPtr() : m_pObj( NULL ), m_pCnt( NULL ), m_pAllocator( NULL ) {} in SharedPtr()
202 : m_pObj( pObj ), in m_pObj() function
226 : m_pObj( other.m_pObj ), in SharedPtr()
243 : m_pObj( other.m_pObj ),
259 : m_pObj( other.m_pObj ), in SharedPtr()
269 m_pObj = NULL; in SharedPtr()
285 m_pObj->~TObj(); in ~SharedPtr()
286 m_pAllocator->Free( m_pObj ); in ~SharedPtr()
290 delete m_pObj; in ~SharedPtr() local
348 TObj* Get() const { return m_pObj; } in Get()
355 TObj& operator * () const { NW_NULL_ASSERT( m_pObj ); return *m_pObj; }
362 TObj* operator -> () const { NW_NULL_ASSERT( m_pObj ); return m_pObj; }
369 operator bool () const { return NULL != m_pObj; }
392 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
397 TObj* m_pObj; variable
453 /* ctor */ WeakPtr() : m_pObj( NULL ), m_pCnt( NULL ), m_pAllocator( NULL ) in WeakPtr()
464 : m_pObj( other.m_pObj ),
480 : m_pObj( other.m_pObj ), in WeakPtr()
497 : m_pObj( other.m_pObj ),
586 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
591 TObj* m_pObj; variable