#include <vee_clonable_pointer.h>
Collaboration diagram for VEE_ClonablePointer< T >:
When you need to store and copy objects of abstract type then this class is handy. The base class that is the type "T" must have a method "T * clone() const" that is used to copy (or clone) objects.
|
Construct pointer carrier with NULL pointer.
|
|
Takes hold of a pointer (does not clone).
|
|
Clone a pointer from another carrier.
|
|
Deletes the hidden pointer.
|
|
Clone a pointer from another carrier.
|
|
Takes hold of a pointer (does not clone).
|
|
Returns the pointer (potentially NULL).
|
|
Returns the pointer (potentially NULL).
|
|
Returns clone of the pointer (or NULL).
|
|
Forgets the pointer without deleting it.
|
|
|