comet::reference_count Class Reference
[Miscelaneous utility classes.]

Simple reference counter. More...

#include <reference_count.h>

List of all members.

Public Types

enum  { FLAGVALUE = 1 }

Public Member Functions

 reference_count (size_t x)
 reference_count (const reference_count &x)
bool is_flag () const
bool is_null () const
size_t operator++ ()
 Increment count.
size_t operator-- ()
 Decrement count.
void clear ()
void swap (reference_count &rhs) throw ()
reference_countoperator= (reference_count &x)


Detailed Description

Simple reference counter.


Member Function Documentation

bool comet::reference_count::is_null  )  const [inline]
 

Implies that the there are currently no outstanding references to this object.


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