|
|
Base class for an object for which references can be made with the reference class Ref.
usage:
class A : public virtual Referable { ... }; |
unsigned int referenceCount | referenceCount |
[private]
static const unsigned int maxCount | maxCount |
[private]
inline
Referable ( void )
throw () | Referable |
[protected]
Default constructor.
inline
~Referable ( void )
throw ( Exception ) | ~Referable |
[protected virtual]
Desctructor.
Throws: Exception
inline unsigned int
increaseReferenceCount ( void )
throw ( Exception ) | increaseReferenceCount |
Increase reference count.
Returns: the new reference count.
Throws: Exception
inline unsigned int
decreaseReferenceCount ( void )
throw ( Exception ) | decreaseReferenceCount |
Decrease reference count.
Returns: the new reference count.
Throws: Exception
inline unsigned int
getReferenceCount ( void )
throw () | getReferenceCount |
[const]
Get the reference count.
Returns: the reference count.