Reference counter for tmp<field>. More...
#include <OpenFOAM/refCount.H>
Reference counter for tmp<field>.
Definition at line 46 of file refCount.H.
 Inheritance diagram for refCount:
 Inheritance diagram for refCount:| Public Member Functions | |
| refCount () | |
| Construct null with zero count. | |
| int | count () const | 
| Return the reference count. | |
| bool | okToDelete () const | 
| Return true if the reference count is zero. | |
| void | resetRefCount () | 
| Reset the reference count to zero. | |
| void | operator++ () | 
| Increment the reference count. | |
| void | operator++ (int) | 
| Increment the reference count. | |
| void | operator-- () | 
| Decrement the reference count. | |
| void | operator-- (int) | 
| Decrement the reference count. | |
| refCount | ( | ) |  [inline] | 
Construct null with zero count.
Definition at line 66 of file refCount.H.
| int count | ( | ) | const  [inline] | 
Return the reference count.
Definition at line 75 of file refCount.H.
| bool okToDelete | ( | ) | const  [inline] | 
Return true if the reference count is zero.
Definition at line 82 of file refCount.H.
| void resetRefCount | ( | ) |  [inline] | 
Reset the reference count to zero.
Definition at line 89 of file refCount.H.
| void operator++ | ( | ) |  [inline] | 
Increment the reference count.
Definition at line 98 of file refCount.H.
| void operator++ | ( | int | ) |  [inline] | 
Increment the reference count.
Definition at line 104 of file refCount.H.
| void operator-- | ( | ) |  [inline] | 
Decrement the reference count.
Definition at line 110 of file refCount.H.
| void operator-- | ( | int | ) |  [inline] | 
Decrement the reference count.
Definition at line 116 of file refCount.H.