Classes | Public Member Functions | List of all members
refCount Class Reference

Reference counter for various OpenFOAM components. More...

Inheritance diagram for refCount:
Inheritance graph
[legend]

Classes

struct  zero
 

Public Member Functions

constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Detailed Description

Reference counter for various OpenFOAM components.

See also
Foam::tmp Foam::token::compound

Definition at line 44 of file refCount.H.

Constructor & Destructor Documentation

◆ refCount()

constexpr refCount ( )
inlineconstexprnoexcept

Definition at line 59 of file refCount.H.

Member Function Documentation

◆ count()

int count ( ) const
inlinenoexcept

Definition at line 68 of file refCount.H.

◆ unique()

bool unique ( ) const
inlinenoexcept

Definition at line 74 of file refCount.H.

◆ operator++() [1/2]

void operator++ ( )
inlinenoexcept

Definition at line 83 of file refCount.H.

◆ operator++() [2/2]

void operator++ ( int  )
inlinenoexcept

Definition at line 89 of file refCount.H.

◆ operator--() [1/2]

void operator-- ( )
inlinenoexcept

Definition at line 95 of file refCount.H.

◆ operator--() [2/2]

void operator-- ( int  )
inlinenoexcept

Definition at line 101 of file refCount.H.


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