#include <CTBsharedObjPtr.hxx>
Inheritance diagram for CTBsharedObjPtr:
Public Methods | |
CTBsharedObjPtr () | |
CTBsharedObjPtr (const CTBsharedObjPtr< T > &rhs) | |
CTBsharedObjPtr (T *p) | |
CTBsharedObjPtr< T > & | operator= (T *rhs) |
T & | operator * () const |
T * | operator-> () const |
Definition at line 60 of file CTBsharedObjPtr.hxx.
|
Default constructor.
Definition at line 281 of file CTBsharedObjPtr.icc. |
|
Copy constructor. If rhs is non-zero, the reference count of the object controlled by rhs is increased by one. Definition at line 293 of file CTBsharedObjPtr.icc. |
|
Construct from pointer.
The object refered to by p becomes a controlled object, its reference count is set to one. In most cases the argument is the CTBsharedObjPtr<foo> p(new foo(a1,a2)); Definition at line 308 of file CTBsharedObjPtr.icc. |
|
Make rhs the controlled object.
Reimplemented from CTBsharedCObjPtr. Definition at line 316 of file CTBsharedObjPtr.icc. |
|
Dereference pointer (access controlled object).
Reimplemented from CTBsharedCObjPtr. Definition at line 326 of file CTBsharedObjPtr.icc. |
|
Access member of controlled object.
Reimplemented from CTBsharedCObjPtr. Definition at line 335 of file CTBsharedObjPtr.icc. |