|Level (T &newLevel)|
|Constructor taking an integer variable which is incremented. More...|
|Destructor decrementing the associated integer variable. More...|
|Default constructor is private and not implemented. |
|Level (const Level &)|
|Copy constructor is private and not implemented. |
|Level &||operator= (const Level &)|
|Assignment is private and not implemented. |
|A reference to the integer variable to be decremmmented when this object is destroyed. More...|
Level is used to increment temporarily a given integer variable.
Everytime a Level object is created with a given integer variable as argument, the variable will be incremented. When the corresponding Level object is destroyed, the associated integer variable is decremented again.