Base class to reference all Shape objects.
More...
#include <TReference.hxx>
Base class to reference all Shape objects.
They are counted ; when created =0, if become =0 then object could be removed
- Author
- WEC
- Version
- 1.0
TReference::TReference |
( |
| ) |
|
|
inline |
Default constructor. Number of references is set to 0.
virtual TReference::~TReference |
( |
| ) |
|
|
inlinevirtual |
void TReference::AddReference |
( |
unsigned |
n = 1 | ) |
|
|
inline |
Add n references to an object.
unsigned TReference::DelReference |
( |
unsigned |
n = 1 | ) |
|
|
inline |
Remove n references to an object.
unsigned TReference::Reference |
( |
| ) |
|
|
inline |
returns the Number of references to an object
unsigned TReference::fNbReferences |
|
private |
Number of references to an object.
The documentation for this class was generated from the following file: