UCommon
Public Member Functions
ucommon::ObjectProtocol Class Referenceabstract

A common base class for all managed objects. More...

#include <protocols.h>

Inheritance diagram for ucommon::ObjectProtocol:
Inheritance graph
[legend]

Public Member Functions

ObjectProtocolcopy (void)
 Retain (increase retention of) object when copying.
 
void operator++ (void)
 Increase retention operator.
 
void operator-- (void)
 Decrease retention operator.
 
virtual void release (void)=0
 Method to release (or decrease retention) of an object.
 
virtual void retain (void)=0
 Method to retain (or increase retention) of an object.
 
virtual ~ObjectProtocol ()
 Required virtual destructor.
 

Detailed Description

A common base class for all managed objects.

This is used to manage objects that might be linked or reference counted. The base class defines only core virtuals some common public methods that should be used by all inherited object types.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Definition at line 173 of file protocols.h.


The documentation for this class was generated from the following file: