#include <BasicCounter.h>
Public Member Functions | |
| BasicCounter (const long initialCount) | |
| BasicCounter () | |
| void | inc () |
| bool | dec () |
| long | getCount () const |
Private Attributes | |
| long | count |
Definition at line 32 of file BasicCounter.h.
| BasicCounter::BasicCounter | ( | const long | initialCount | ) | [inline] |
Definition at line 36 of file BasicCounter.h.
| BasicCounter::BasicCounter | ( | ) | [inline] |
Definition at line 37 of file BasicCounter.h.
| void BasicCounter::inc | ( | ) | [inline] |
Increment.
Definition at line 42 of file BasicCounter.h.
References count.
Referenced by BasicSmartPointer< std::list< std::string > >::operator=().
| bool BasicCounter::dec | ( | ) | [inline] |
Decrement.
Definition at line 49 of file BasicCounter.h.
References count.
Referenced by BasicSmartPointer< std::list< std::string > >::release().
| long BasicCounter::getCount | ( | ) | const [inline] |
Get the current count.
Definition at line 56 of file BasicCounter.h.
References count.
Referenced by BasicSmartPointer< std::list< std::string > >::adopt(), and BasicSmartPointer< std::list< std::string > >::getRefCount().
long BasicCounter::count [private] |
1.5.6