class CorRef : public CorBase A simple reference counting class
| | CorDebug () |
| | CorRef ( const CorRef& aRef ) |
| | CorRef () |
| | decrease () |
| | getExecutionLevel () |
| | increase () |
| | operator* () |
| | operator++ () |
| | operator-- () |
| | operator= ( const CorRef& aRef ) |
| | operator== ( unsigned int anInt ) |
| | overAndOut () |
| | setExecutionLevel () |
| | ~CorDebug () |
| | ~CorRef () |
| | CorDebug ( const CorDebug& aRef ) |
| | operator= ( const CorDebug& aRef ) |
A simple reference counting class
Preconditions Exceptions
Preconditions Exceptions
SYNOPSIS DESCRIPTION CAUTIONS EXAMPLES SEE ALSO
Preconditions Exceptions
Preconditions Exceptions
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
The default c'tor.
~CorDebug()
The d'tor.
int getExecutionLevel()
static int setExecutionLevel()
CorDebug( const CorDebug& aRef )
CorDebug& operator=( const CorDebug& aRef )
#include <CorRef.h>
CorRef myObject;
This class helps with reference counts.
There can be only 2^sizeof(int) references to an object.
<optional>
<optional>
CorBase
CorRef()
The default c'tor.
CorRef( const CorRef& aRef )
CorRef& operator=( const CorRef& aRef )
virtual ~CorRef()
The d'tor.
void increase()
Increase the reference count.
CorBool overAndOut()
Query whether there are no more references left.
This function returns corTRUE if there are no more references counted.
void decrease()
Decrease the reference count.
unsigned int operator*()
Return the reference count.
This function returns the current reference count.
unsigned int operator++()
Increase the reference count.
This function returns the current reference count.
unsigned int operator--()
Decrease the reference count.
This function returns the current reference count.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de