jigdo API

SmartPtrBase Struct Reference

The version of SmartPtrBase below needs the following:. More...

#include <smartptr.hh>

Inheritance diagram for SmartPtrBase:

BfstreamCounted UrlMapping PartUrlMapping ServerUrlMapping

List of all members.


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


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

Generated on Tue Sep 23 14:27:43 2008 for jigdo by  doxygen 1.5.6