qxLib
|
State abstraction class. More...
#include <state.h>
Public Member Functions | |
state (const T &value) noexcept | |
state object constructor More... | |
state (const T &value, const T &defaultValue) noexcept | |
basic_state object constructor More... | |
void | reset () noexcept |
Reset current state to its default value. | |
bool | is_default () const noexcept |
Is current state default. More... | |
State abstraction class.
State is an entity that can be set to its default value
T | - state value type |
|
inlinenoexcept |