A class that can be enabled or disabled.
More...
#include "common-structures.hpp"
A class that can be enabled or disabled.
- Note
- This class is constexpr compatible
Definition at line 87 of file common-structures.hpp.
◆ enableable()
mal_toolkit::enableable::enableable |
( |
| ) |
|
|
default |
◆ ~enableable()
mal_toolkit::enableable::~enableable |
( |
| ) |
|
|
default |
◆ disable()
void mal_toolkit::enableable::disable |
( |
| ) |
|
|
inlineconstexpr |
◆ enable()
void mal_toolkit::enableable::enable |
( |
| ) |
|
|
inlineconstexpr |
◆ enabled()
bool mal_toolkit::enableable::enabled |
( |
| ) |
const |
|
inlineconstexpr |
◆ is_disabled()
bool mal_toolkit::enableable::is_disabled |
( |
| ) |
const |
|
inlineconstexpr |
◆ is_enabled()
bool mal_toolkit::enableable::is_enabled |
( |
| ) |
const |
|
inlineconstexpr |
◆ enabled_
bool mal_toolkit::enableable::enabled_ = true |
|
private |
The documentation for this class was generated from the following file: