Public Member Functions | |
Constructor / Destructor | |
CP_AutoOSPtrTemp () | |
Constructor. | |
CP_AutoOSPtrTemp (CP_AutoOSPtrTemp &inAutoPtr) | |
CP_AutoOSPtrTemp (T *inPtr) | |
~CP_AutoOSPtrTemp () throw () | |
Destructor. | |
operators | |
CP_AutoOSPtrTemp & | operator= (CP_AutoOSPtrTemp &ioPtr) throw () |
operator T () const throw () | |
Getters | |
T | Get () const throw () |
Management | |
T | Release () throw () |
void | Reset (T inPtr=NULL) throw () |
Protected Attributes | |
T * | fPtr |
|
Constructor.
|
|
Copy onstructor.
|
|
Constructor.
|
|
Destructor.
|
|
Assignment operator. Copies the fields from the passed in AutoPtr to this object.
|
|
Returns the Ptr as an OSPtr.
|
|
Returns the Ptr as an OSPtr.
|
|
Sets the T of this object to NULL, and returns the previous OS Ptr.
|
|
Disposes of the T previously held in this objects, and then sets the Ptr to the passed in T.
|
|
|