#include <base_smart_pointer.hh>
Inheritance diagram for mpcl::memory::TBaseSmartPointer:

Public Types | |
| typedef TSharedCell | cell_type |
| Cell type. | |
Public Methods | |
| TBaseSmartPointer (void) throw () | |
| Builds a new instance. | |
| virtual | ~TBaseSmartPointer (void) |
| Destroys the instance. | |
| const void * | address (void) const throw () |
| bool | isNull (void) const throw () |
| long unsigned int | references (void) const throw (TConstraintException) |
Protected Types | |
| typedef const TSharedCell & | cell_const_reference |
| typedef TSharedCell * | cell_pointer |
| typedef TSharedCell & | cell_reference |
Protected Attributes | |
| cell_pointer | ptSharedCell |
| Pointer to shared cell. | |
Definition at line 79 of file base_smart_pointer.hh.
|
|
Cell const reference type.
Definition at line 90 of file base_smart_pointer.hh. |
|
|
Cell pointer type.
Definition at line 98 of file base_smart_pointer.hh. |
|
|
Cell reference type.
Definition at line 106 of file base_smart_pointer.hh. |
|
|
Returns the address of the object pointed to.
Definition at line 161 of file base_smart_pointer.hh. References ptSharedCell. |
|
|
Checks if the smart pointer is empty.
Definition at line 192 of file base_smart_pointer.hh. References ptSharedCell. |
|
|
Returns the reference count to the item pointed by this.
Definition at line 202 of file base_smart_pointer.hh. References ptSharedCell. |
1.2.18