Public Member Functions | |
Constructor / Destructor | |
CP_AutoOSHandle () | |
Constructor. | |
CP_AutoOSHandle (CP_AutoOSHandle &inAutoHandle) | |
CP_AutoOSHandle (OSHandle inHandle) | |
CP_AutoOSHandle (size_t inSize) | |
~CP_AutoOSHandle () throw () | |
Destructor. | |
operators | |
CP_AutoOSHandle & | operator= (CP_AutoOSHandle &ioHandle) throw () |
operator OSHandle () const throw () | |
Getters | |
OSHandle | Get () const throw () |
Management | |
OSHandle | Release () throw () |
void | Reset (OSHandle inHandle=NULL) throw () |
Protected Attributes | |
OSHandle | fHandle |
OSPtr | fHandlePtr |
|
Constructor. Allocates a default 1 byte handle.
|
|
Copy onstructor.
|
|
Constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Assignment operator. Copies the fields from the passed in AutoHandle to this object.
|
|
Returns the handle as an OSHandle.
|
|
Returns the handle as an OSHandle.
|
|
Sets the OSHandle of this object to NULL, and returns the previous OS handle.
|
|
Disposes of the OSHandle previously held in this objects, and then sets the handle to the passed in OSHandle.
|
|
|
|
Platforms handle object. |