Constructor for objects of the OdSaveStateFlagsMask class. Saves flags and assigns them a new value.