cloudy trunk
|
#include <utilitymacros.h>
Public Member Functions | |
DelayedAssigner_T (Type &var_ref) | |
DelayedAssigner_T (Type &var_ref, const Type &value) | |
~DelayedAssigner_T () | |
Private Attributes | |
Type & | itsVarRef |
Type | itsValue |
**************| class DelayedAssigner_T |******************** Initialize 'itsVarRef' and 'itsValue' on construction; assign 'itsValue' to 'itsVarRef' upon destruction.
Example: DelayedAssigner_T<int> saved_var (var); ________________________________________________________rado__
Definition at line 288 of file utilitymacros.h.
DelayedAssigner_T< Type >::DelayedAssigner_T | ( | Type & | var_ref | ) | [inline] |
Definition at line 294 of file utilitymacros.h.
DelayedAssigner_T< Type >::DelayedAssigner_T | ( | Type & | var_ref, |
const Type & | value | ||
) | [inline] |
Definition at line 299 of file utilitymacros.h.
DelayedAssigner_T< Type >::~DelayedAssigner_T | ( | ) | [inline] |
Definition at line 304 of file utilitymacros.h.
References DelayedAssigner_T< Type >::itsValue, and DelayedAssigner_T< Type >::itsVarRef.
Type DelayedAssigner_T< Type >::itsValue [private] |
Definition at line 291 of file utilitymacros.h.
Referenced by DelayedAssigner_T< Type >::~DelayedAssigner_T().
Type& DelayedAssigner_T< Type >::itsVarRef [private] |
Definition at line 290 of file utilitymacros.h.
Referenced by DelayedAssigner_T< Type >::~DelayedAssigner_T().