Xalan-C++ API Reference  1.12.0
Static Public Member Functions | Protected Member Functions | List of all members
xalanc::XalanReferenceCountedObject Class Referenceabstract

Class to hold reference count information. More...

#include <xalanc/PlatformSupport/XalanReferenceCountedObject.hpp>

Inheritance diagram for xalanc::XalanReferenceCountedObject:
[legend]

Static Public Member Functions

static void addReference (XalanReferenceCountedObject *theInstance)
 Increment reference count. More...
 
static void removeReference (XalanReferenceCountedObject *theInstance)
 Decrement reference count. More...
 

Protected Member Functions

 XalanReferenceCountedObject ()
 Create a XalanReferenceCountedObject. More...
 
virtual ~XalanReferenceCountedObject ()
 
virtual void referenced ()=0
 
virtual void dereferenced ()=0
 
virtual XalanSize_t getReferenceCount () const
 

Detailed Description

Class to hold reference count information.

Definition at line 35 of file XalanReferenceCountedObject.hpp.

Constructor & Destructor Documentation

◆ XalanReferenceCountedObject()

xalanc::XalanReferenceCountedObject::XalanReferenceCountedObject ( )
explicitprotected

◆ ~XalanReferenceCountedObject()

virtual xalanc::XalanReferenceCountedObject::~XalanReferenceCountedObject ( )
protectedvirtual

Member Function Documentation

◆ addReference()

static void xalanc::XalanReferenceCountedObject::addReference ( XalanReferenceCountedObject theInstance)
static

Increment reference count.


◆ dereferenced()

virtual void xalanc::XalanReferenceCountedObject::dereferenced ( )
protectedpure virtual

◆ getReferenceCount()

virtual XalanSize_t xalanc::XalanReferenceCountedObject::getReferenceCount ( ) const
inlineprotectedvirtual

Definition at line 69 of file XalanReferenceCountedObject.hpp.

◆ referenced()

virtual void xalanc::XalanReferenceCountedObject::referenced ( )
protectedpure virtual

Implemented in xalanc::XObject, and xalanc::XToken.

◆ removeReference()

static void xalanc::XalanReferenceCountedObject::removeReference ( XalanReferenceCountedObject theInstance)
static

Decrement reference count.



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