Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

GPEnabled Class Reference

#include <GSmartPointer.h>

Inheritance diagram for GPEnabled:

ByteStream DataPool DataPool::OpenFiles_File DjVmDir DjVmDir0 DjVmDir0::FileRec DjVmDoc DjVmNav DjVuAnno DjVuANT DjVuFileCache DjVuInfo DjVuMessageLite DjVuNavDir DjVuPort DjVuTXT GBitmap GIFFChunk GIFFManager GMapArea GPixmap GScaler IW44Image JB2Dict MMRDecoder ZPCodec

List of all members.

Detailed Description

Base class for reference counted objects. This is the base class for all reference counted objects. Any instance of a subclass of GPEnabled# can be used with smart-pointers (see {GP}).

Definition at line 119 of file GSmartPointer.h.

Public Member Functions

int get_count (void) const
 GPEnabled (const GPEnabled &obj)
 Copy construcotr.
 GPEnabled ()
 Null constructor.
GPEnabledoperator= (const GPEnabled &obj)
 Copy operator.
virtual ~GPEnabled ()
 Virtual destructor.

Protected Attributes

volatile int count
 The reference counter.

Private Member Functions

void destroy ()
void ref ()
void unref ()


class GPBase

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

Generated by  Doxygen 1.6.0   Back to index