Public Member Functions | |
Constructor / Destructor | |
CP_AutoOSPtr () | |
Constructor. | |
CP_AutoOSPtr (CP_AutoOSPtr &inAutoPtr) | |
CP_AutoOSPtr (OSPtr inPtr) | |
CP_AutoOSPtr (size_t inSize) | |
~CP_AutoOSPtr () throw () | |
Destructor. | |
operators | |
CP_AutoOSPtr & | operator= (CP_AutoOSPtr &ioPtr) throw () |
operator OSPtr () const throw () | |
Getters | |
OSPtr | Get () const throw () |
Management | |
OSPtr | Release () throw () |
void | Reset (OSPtr inPtr=NULL) throw () |
Protected Attributes | |
OSPtr | fPtr |
|
Constructor.
|
|
Copy onstructor.
|
|
Constructor.
|
|
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 OSPtr of this object to NULL, and returns the previous OS Ptr.
|
|
Disposes of the OSPtr previously held in this objects, and then sets the Ptr to the passed in OSPtr.
|
|
|