#include <CTBclonedObjPtr.hxx>
Inheritance diagram for CTBclonedObjPtr:
Public Methods | |
CTBclonedObjPtr () | |
CTBclonedObjPtr (const CTBclonedObjPtr< T > &rhs) | |
CTBclonedObjPtr (T *p) | |
CTBclonedObjPtr< T > & | operator= (const CTBclonedObjPtr< T > &rhs) |
CTBclonedObjPtr< T > & | operator= (T *rhs) |
Like CTBownedBObjPtr
, but copy constructor and the assignment operator are defined to replicate the controlled object of the source pointer.
Clone()
function. The replication is encapsulated in the CTBclone
interface. Note that this allows to use a CTBclonedObjPtr
even for abstract base classes.
Definition at line 19 of file CTBclonedObjPtr.hxx.
|
Default constructor.
Definition at line 40 of file CTBclonedObjPtr.icc. |
|
Copy constructor.
The object controlled by rhs is replicated with the Definition at line 52 of file CTBclonedObjPtr.icc. |
|
Construct from pointer. The object refered to by p becomes the controlled object. Definition at line 66 of file CTBclonedObjPtr.icc. |
|
Replicate controlled object of
The object controlled by rhs is replicated with the Definition at line 78 of file CTBclonedObjPtr.icc. |
|
Make
Reimplemented from CTBownedObjPtr. Definition at line 93 of file CTBclonedObjPtr.icc. |