jigdo API
Last update by Admin on 2010-05-23
SmartPtrBase Struct Reference
The version of SmartPtrBase below needs the following:. More...
#include <smartptr.hh>
Inheritance diagram for SmartPtrBase:

Public Member Functions | |
SmartPtrBase () | |
Public Attributes | |
int | smartPtr_refCount |
Friends | |
struct | SmartPtr_lockStatic |
Detailed Description
The version of SmartPtrBase below needs the following:.
class Base : public SmartPtrBase { ... }; class Derived : public Base { ... };in order to allow a Derived object's address to be assigned to a SmartPtr<Base>. Its only fault is that its member must be public (or we lose GCC 2.95 compatibility; friend templates only work as of 3.4).
The reference count is set to 0 by the ctor.
Constructor & Destructor Documentation
SmartPtrBase::SmartPtrBase | ( | ) | [inline] |
Friends And Related Function Documentation
friend struct SmartPtr_lockStatic [friend] |
Member Data Documentation
Referenced by SmartPtr_lockStatic::SmartPtr_lockStatic().
The documentation for this struct was generated from the following file:
- util/smartptr.hh
Generated on Tue Sep 23 14:27:43 2008 for jigdo by
