LibreOffice Module tools (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SvRefBase Class Reference

Classes that want to be referenced-counted via SvRef<T>, should extend this base class. More...

#include <ref.hxx>

Inheritance diagram for SvRefBase:
[legend]

Public Member Functions

 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Protected Member Functions

virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

unsigned int nRefCount: 31
 
unsigned int bNoDelete: 1
 

Detailed Description

Classes that want to be referenced-counted via SvRef<T>, should extend this base class.

Definition at line 120 of file ref.hxx.

Constructor & Destructor Documentation

◆ ~SvRefBase()

SvRefBase::~SvRefBase ( )
protectedvirtual

Definition at line 23 of file ref.cxx.

◆ SvRefBase() [1/2]

SvRefBase::SvRefBase ( )
inline

Definition at line 132 of file ref.hxx.

◆ SvRefBase() [2/2]

SvRefBase::SvRefBase ( const SvRefBase )
inline

Definition at line 133 of file ref.hxx.

References nRefCount.

Member Function Documentation

◆ AddFirstRef()

void SvRefBase::AddFirstRef ( )
inline

Definition at line 146 of file ref.hxx.

References nRefCount.

◆ AddNextRef()

void SvRefBase::AddNextRef ( )
inline

Definition at line 140 of file ref.hxx.

References nRefCount.

◆ GetRefCount()

unsigned int SvRefBase::GetRefCount ( ) const
inline

Definition at line 167 of file ref.hxx.

References nRefCount.

◆ operator=()

SvRefBase & SvRefBase::operator= ( const SvRefBase )
inline

Definition at line 135 of file ref.hxx.

◆ ReleaseRef()

void SvRefBase::ReleaseRef ( )
inline

Definition at line 154 of file ref.hxx.

References nRefCount.

◆ RestoreNoDelete()

void SvRefBase::RestoreNoDelete ( )
inline

Definition at line 137 of file ref.hxx.

Member Data Documentation

◆ bNoDelete

unsigned int SvRefBase::bNoDelete
private

Definition at line 126 of file ref.hxx.

◆ nRefCount

unsigned int SvRefBase::nRefCount
private

Definition at line 124 of file ref.hxx.


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