Public Member Functions | Protected Attributes | List of all members
zorba::SmartObject Class Reference

#include <zorba/smart_ptr.h>

Inheritance diagram for zorba::SmartObject:
Inheritance graph
[legend]

Public Member Functions

void addReference () const
 
virtual void free ()
 
long getRefCount () const
 
SmartObjectoperator= (const SmartObject &)
 
void removeReference ()
 
 SmartObject ()
 
 SmartObject (const SmartObject &)
 
virtual ~SmartObject ()
 

Protected Attributes

unsigned int theRefCount
 

Detailed Description

Definition at line 24 of file smart_ptr.h.

Constructor & Destructor Documentation

zorba::SmartObject::SmartObject ( )
inline

Definition at line 30 of file smart_ptr.h.

zorba::SmartObject::SmartObject ( const SmartObject )
inline

Definition at line 32 of file smart_ptr.h.

virtual zorba::SmartObject::~SmartObject ( )
virtual

Member Function Documentation

void zorba::SmartObject::addReference ( ) const
inline

Definition at line 40 of file smart_ptr.h.

virtual void zorba::SmartObject::free ( )
virtual
long zorba::SmartObject::getRefCount ( ) const
inline

Definition at line 38 of file smart_ptr.h.

SmartObject& zorba::SmartObject::operator= ( const SmartObject )
inline

Definition at line 47 of file smart_ptr.h.

void zorba::SmartObject::removeReference ( )
inline

Definition at line 42 of file smart_ptr.h.

Member Data Documentation

unsigned int zorba::SmartObject::theRefCount
mutableprotected

Definition at line 27 of file smart_ptr.h.


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