#include <base.h>
Inheritance diagram for Xapian::Internal::RefCntBase:
Public Types | |
typedef unsigned int | ref_count_t |
Public Methods | |
RefCntBase () | |
The constructor, which initialises the ref_count to 0. More... | |
Public Attributes | |
ref_count_t | ref_count |
The actual reference count. More... | |
Protected Methods | |
RefCntBase (const RefCntBase &) | |
The copy constructor. More... |
This gives the object a reference count used by RefCntPtr.
|
The copy constructor. This is protected since it'll only be used by derived classes, which should only rarely need copying (this is, after all, a refcount implementation). Sometimes it's needed, though, since we need to zero ref_count in the copy. |
|
The constructor, which initialises the ref_count to 0.
|
|
The actual reference count.
|