Givaro
Public Member Functions | Protected Attributes
RefCounter Class Reference

Ref counter. More...

#include <givref_count.h>

Public Member Functions

 RefCounter (long l=0)
 
 ~RefCounter ()
 
long getvalue () const
 
long val () const
 
long & refvalue ()
 
long incr ()
 
long decr ()
 

Protected Attributes

long counter
 

Detailed Description

Ref counter.

Constructor & Destructor Documentation

◆ RefCounter()

RefCounter ( long  l = 0)
inline

◆ ~RefCounter()

~RefCounter ( )
inline

Member Function Documentation

◆ getvalue()

long getvalue ( ) const
inline

◆ val()

long val ( ) const
inline

◆ refvalue()

long& refvalue ( )
inline

◆ incr()

long incr ( )
inline

◆ decr()

long decr ( )
inline

Field Documentation

◆ counter

long counter
protected

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