DelayedAssigner_T< Type > Class Template Reference

#include <utilitymacros.h>

Inherits DelayedAssigner_T_Base.

Inheritance diagram for DelayedAssigner_T< Type >:

Inheritance graph
[legend]
Collaboration diagram for DelayedAssigner_T< Type >:

Collaboration graph
[legend]

Public Member Functions

 DelayedAssigner_T (Type &var_ref)
 DelayedAssigner_T (Type &var_ref, const Type &value)
 ~DelayedAssigner_T ()

Private Attributes

Type & itsVarRef
Type itsValue

Detailed Description

template<class Type>
class DelayedAssigner_T< Type >

**************| 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.


Constructor & Destructor Documentation

template<class Type>
DelayedAssigner_T< Type >::DelayedAssigner_T ( Type &  var_ref  )  [inline]

Definition at line 294 of file utilitymacros.h.

template<class Type>
DelayedAssigner_T< Type >::DelayedAssigner_T ( Type &  var_ref,
const Type &  value 
) [inline]

Definition at line 299 of file utilitymacros.h.

template<class Type>
DelayedAssigner_T< Type >::~DelayedAssigner_T (  )  [inline]

Definition at line 304 of file utilitymacros.h.

References DelayedAssigner_T< Type >::itsValue, and DelayedAssigner_T< Type >::itsVarRef.


Field Documentation

template<class Type>
Type DelayedAssigner_T< Type >::itsValue [private]

Definition at line 291 of file utilitymacros.h.

Referenced by DelayedAssigner_T< Type >::~DelayedAssigner_T().

template<class Type>
Type& DelayedAssigner_T< Type >::itsVarRef [private]

Definition at line 290 of file utilitymacros.h.

Referenced by DelayedAssigner_T< Type >::~DelayedAssigner_T().


The documentation for this class was generated from the following file:
Generated on Mon Feb 16 12:14:19 2009 for cloudy by  doxygen 1.4.7