Nugget
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
eastl::safe_ptr_base Class Reference

#include <safe_ptr.h>

Inheritance diagram for eastl::safe_ptr_base:
Inheritance graph
[legend]
Collaboration diagram for eastl::safe_ptr_base:
Collaboration graph
[legend]

Public Member Functions

bool unique () const
 
bool empty () const
 Returns true if there are no other smart pointers pointing to our object except us. True if mpObject is NUll.
 
void reset (const safe_object *pObject)
 Returns true if mpObject is NULL.
 
void reset ()
 Make this point to pObject and enlist.
 

Protected Member Functions

 safe_ptr_base ()
 Make this point to NULL and delist.
 
 safe_ptr_base (const safe_object *pObject)
 
 safe_ptr_base (const safe_ptr_base &safePtrBase)
 

Protected Attributes

const safe_objectmpObject
 

Friends

class safe_object
 

Detailed Description

safe_ptr_base

This is a non-templated base class for safe_ptr<T>, not for direct use by the user.


The documentation for this class was generated from the following file: