CFx SDK Documentation 2024 SP0
|
#include <SaveState.h>
Public Member Functions | |
OdSaveStateFlagsMask (T &variable) | |
OdSaveStateFlagsMask (T &variable, const T &newValue) | |
~OdSaveStateFlagsMask () | |
operator const T & () const | |
This template class implements SaveState objects which save and restore flags mask.
<group Other_Classes>
Definition at line 167 of file SaveState.h.
|
inline |
Constructor for objects of the OdSaveStateFlagsMask class. Saves flags without assigning it a new value.
variable | [in] Variable to save. |
Definition at line 177 of file SaveState.h.
|
inline |
Constructor for objects of the OdSaveStateFlagsMask class. Saves flags and assigns them a new value.
variable | [in] Variable to save. |
newValue | [in] New value for flags. |
Definition at line 188 of file SaveState.h.
|
inline |
Destructor for objects of the OdSaveState class. Restores the old value of a variable.
Definition at line 196 of file SaveState.h.
|
inline |
Returns the saved flags of the variable.
Definition at line 204 of file SaveState.h.