xapian-core  1.4.18
Public Member Functions | Public Attributes | Private Member Functions | List of all members
Xapian::Internal::intrusive_base Class Reference

Base class for objects managed by intrusive_ptr. More...

#include <intrusive_ptr.h>

+ Inheritance diagram for Xapian::Internal::intrusive_base:

Public Member Functions

 intrusive_base ()
 Construct with no references. More...
 

Public Attributes

unsigned _refs
 Reference count. More...
 

Private Member Functions

 intrusive_base (const intrusive_base &)
 Prevent copying. More...
 
void operator= (const intrusive_base &)
 Prevent assignment. More...
 

Detailed Description

Base class for objects managed by intrusive_ptr.

Definition at line 49 of file intrusive_ptr.h.

Constructor & Destructor Documentation

◆ intrusive_base() [1/2]

Xapian::Internal::intrusive_base::intrusive_base ( const intrusive_base )
private

Prevent copying.

◆ intrusive_base() [2/2]

Xapian::Internal::intrusive_base::intrusive_base ( )
inline

Construct with no references.

The references get added if/when this object is put into an intrusive_ptr.

Definition at line 62 of file intrusive_ptr.h.

Member Function Documentation

◆ operator=()

void Xapian::Internal::intrusive_base::operator= ( const intrusive_base )
private

Member Data Documentation

◆ _refs

unsigned Xapian::Internal::intrusive_base::_refs
mutable

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