19 #ifndef TORC_GENERIC_VERILOG_TEMPORARYASSIGNMENT_HPP
20 #define TORC_GENERIC_VERILOG_TEMPORARYASSIGNMENT_HPP
60 #endif // TORC_GENERIC_VERILOG_TEMPORARYASSIGNMENT_HPP
TYPE mOriginalValue
Original value of the variable.
TemporaryAssignment(TYPE &inVariable, TYPE inValue)
Public constructor that assigns a new value.
~TemporaryAssignment(void)
Public destructor to restore the original value.
TemporaryAssignment(TYPE &inVariable)
Public constructor that does not assign a new value.
Template class that stores the current value of a variable and restores that value when this object g...
TYPE & mVariable
Reference to the variable.