#include <Rep.h>
Inheritance diagram for CountedRep:
Public Member Functions | |
CountedRep () | |
CountedRep (const CountedRep &rhs) | |
CountedRep & | operator= (const CountedRep &rhs) |
virtual | ~CountedRep () |
unsigned | objectId () const |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Static Public Member Functions | |
unsigned | objectCount () |
Private Attributes | |
const unsigned | _objectId |
Static Private Attributes | |
unsigned | _objectCount = 0 |
unsigned | _objectIds = 0 |
Derived from Rep, CountedRep provides a numerical object id and
See class Rep.
|
Constructor. |
|
CopyConstructor. |
|
Destructor. |
|
Stream output Reimplemented from Rep. |
|
The total ammount of CountedRep instances in memeory. |
|
This objects numerical id. |
|
Assignment. objectId remains untouched. |
|
Counts total ammount of CountedRep instances in memeory. |
|
This objects numerical id. |
|
Provides numerical ids. |