12#include <unordered_set>
39 void copy(
const Modes& other);
47 TRITON_EXPORT
Modes();
std::unordered_set< triton::modes::mode_e > enabledModes
The set of enabled modes.
TRITON_EXPORT void clearModes(void)
Clears recorded modes.
TRITON_EXPORT Modes()
Constructor.
TRITON_EXPORT void setMode(triton::modes::mode_e mode, bool flag)
Enables or disables a specific mode.
TRITON_EXPORT bool isModeEnabled(triton::modes::mode_e mode) const
Returns true if the mode is enabled.
TRITON_EXPORT Modes & operator=(const Modes &other)
Copies a Modes.
mode_e
Enumerates all kinds of mode.
std::shared_ptr< triton::modes::Modes > SharedModes
Shared Modes.