|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
EkCompSmartPtr Class Template ReferenceEkCompSmartPtr - Templated, use count based Pointer class.
More...
#include <EkCompSmartPtr.h>
Inheritance diagram for EkCompSmartPtr: [legend]Collaboration diagram for EkCompSmartPtr:[legend]List of all members.
Detailed Description
template<class obj>
class EkCompSmartPtr< obj >
EkCompSmartPtr - Templated, use count based Pointer class.
This is a very simple subclass of EkConstCompSmartPtr that returns non-const pointers, and references. It is a subclass so it can be automatically coerced into a EkConstCompSmartPtr when needed by the compiler.
-
See also:
-
EkConstCompSmartPtr for a full description
Constructor & Destructor Documentation
template<class obj> |
EkCompSmartPtr< obj >::EkCompSmartPtr |
( |
void |
|
) |
[inline] |
|
template<class obj> |
EkCompSmartPtr< obj >::EkCompSmartPtr |
( |
const EkCompSmartPtr< obj > & |
nSP |
) |
[inline] |
|
template<class obj> |
EkCompSmartPtr< obj >::EkCompSmartPtr |
( |
obj * |
objPtr |
) |
[inline] |
|
Member Function Documentation
template<class obj> |
obj & EkCompSmartPtr< obj >::operator * |
( |
void |
|
) |
const [inline] |
|
template<class obj> |
obj * EkCompSmartPtr< obj >::operator-> |
( |
void |
|
) |
const [inline] |
|
template<class obj> |
EkCompSmartPtr< obj > & EkCompSmartPtr< obj >::operator= |
( |
obj * |
objPtr |
) |
[inline] |
|
|
Another assignment operator.
|
template<class obj> |
EkCompSmartPtr< obj > & EkCompSmartPtr< obj >::operator= |
( |
const EkCompSmartPtr< obj > & |
nSP |
) |
[inline] |
|
|
Point this object at a new spot. Calls deleteRef for current obj, and addRef for new Object... Assuming they aren't null.
|
template<class obj> |
obj * EkCompSmartPtr< obj >::ptr |
( |
void |
|
) |
const [inline] |
|
The documentation for this class was generated from the following file:
|