Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ObjectImpl Class Reference

Public Member Functions

 ObjectImpl (const ObjectImpl &rhs)=delete
ObjectImpl & operator= (const ObjectImpl &rhs)=delete
void addRef ()
 Increments the reference counter.
void removeRef ()
 Decrements the reference counter.
Int32 refCount () const
 Returns the value of the reference counter.
virtual void deleteMe ()
 Destroys this object.

Detailed Description

Constructor & Destructor Documentation

◆ ObjectImpl()

Arcane::ObjectImpl::ObjectImpl ( )
inline

◆ ~ObjectImpl()

virtual Arcane::ObjectImpl::~ObjectImpl ( )
inlinevirtual

Member Function Documentation

◆ addRef()

void Arcane::ObjectImpl::addRef ( )
inline

Increments the reference counter.

Definition at line 53 of file arccore/src/common/arccore/common/Collection.h.

◆ deleteMe()

virtual void Arcane::ObjectImpl::deleteMe ( )
inlinevirtual

Destroys this object.

Definition at line 69 of file arccore/src/common/arccore/common/Collection.h.

Referenced by removeRef().

◆ refCount()

Int32 Arcane::ObjectImpl::refCount ( ) const
inline

Returns the value of the reference counter.

Definition at line 64 of file arccore/src/common/arccore/common/Collection.h.

◆ removeRef()

void Arcane::ObjectImpl::removeRef ( )
inline

Decrements the reference counter.

Definition at line 55 of file arccore/src/common/arccore/common/Collection.h.

References deleteMe().


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