CFx SDK Documentation
2022 SP0
|
#include <SaveState.h>
Public Member Functions | |
OdSaveState (T &variable) | |
OdSaveState (T &variable, const T &newValue) | |
~OdSaveState () | |
operator const T & () const | |
This template class implements SaveState objects which save and restore variables.
<group Other_Classes>
Definition at line 39 of file SaveState.h.
|
inline |
variable | [in] Variable to save. |
Definition at line 46 of file SaveState.h.
|
inline |
newValue | [in] New value for variable. |
Definition at line 53 of file SaveState.h.
|
inline |
Definition at line 59 of file SaveState.h.
|
inline |
Returns the saved value of the variable.
Definition at line 66 of file SaveState.h.