#include <cpp-terminal/key.hpp>
|
enum class | Value : std::int32_t { None = 0
, Alt = (1UL << 22UL)
, Ctrl = (1UL << 23UL)
} |
|
|
constexpr MetaKey | operator+ (MetaKey l, MetaKey r) |
|
constexpr MetaKey | operator+ (MetaKey::Value l, MetaKey::Value r) |
|
constexpr MetaKey | operator+ (MetaKey l, MetaKey::Value r) |
|
constexpr MetaKey | operator+ (MetaKey::Value l, MetaKey r) |
|
constexpr bool | operator== (MetaKey l, MetaKey r) |
|
constexpr bool | operator== (MetaKey l, MetaKey::Value r) |
|
constexpr bool | operator== (MetaKey::Value l, MetaKey r) |
|
constexpr bool | operator!= (MetaKey l, MetaKey r) |
|
constexpr bool | operator!= (MetaKey l, MetaKey::Value r) |
|
constexpr bool | operator!= (MetaKey::Value l, MetaKey r) |
|
constexpr bool | operator< (MetaKey l, MetaKey r) |
|
constexpr bool | operator>= (MetaKey l, MetaKey r) |
|
constexpr bool | operator>= (MetaKey l, MetaKey::Value r) |
|
constexpr bool | operator>= (MetaKey::Value l, MetaKey r) |
|
constexpr bool | operator> (MetaKey l, MetaKey r) |
|
constexpr bool | operator> (MetaKey l, MetaKey::Value r) |
|
constexpr bool | operator> (MetaKey::Value l, MetaKey r) |
|
constexpr bool | operator<= (MetaKey l, MetaKey r) |
|
constexpr bool | operator<= (MetaKey l, MetaKey::Value r) |
|
constexpr bool | operator<= (MetaKey::Value l, MetaKey r) |
|
Definition at line 18 of file key.hpp.
◆ Value
◆ MetaKey() [1/4]
Term::MetaKey::MetaKey |
( |
| ) |
|
|
inlineconstexpr |
◆ MetaKey() [2/4]
Term::MetaKey::MetaKey |
( |
const MetaKey & | key | ) |
|
|
constexprdefault |
◆ MetaKey() [3/4]
Term::MetaKey::MetaKey |
( |
const Value & | v | ) |
|
|
inlineconstexpr |
Definition at line 33 of file key.hpp.
33:
value(
static_cast<std::int32_t
>(v)) {}
◆ MetaKey() [4/4]
Term::MetaKey::MetaKey |
( |
std::int32_t | val | ) |
|
|
inlineexplicitconstexpr |
◆ hasAlt()
bool Term::MetaKey::hasAlt |
( |
| ) |
const |
|
inlineconstexpr |
◆ hasCtrl()
bool Term::MetaKey::hasCtrl |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator std::int32_t()
Term::MetaKey::operator std::int32_t |
( |
| ) |
const |
|
inlineexplicitconstexpr |
◆ operator+=() [1/2]
Definition at line 57 of file key.hpp.
57{ return *this = *this + r; }
◆ operator+=() [2/2]
Definition at line 58 of file key.hpp.
58{ return *this = *this + r; }
◆ operator=() [1/3]
◆ operator=() [2/3]
Definition at line 34 of file key.hpp.
35 {
36 this->
value =
static_cast<std::int32_t
>(v);
37 return *this;
38 }
◆ operator=() [3/3]
MetaKey & Term::MetaKey::operator= |
( |
std::int32_t | val | ) |
|
|
inline |
Definition at line 41 of file key.hpp.
42 {
44 return *this;
45 }
◆ operator!= [1/3]
◆ operator!= [2/3]
◆ operator!= [3/3]
◆ operator+ [1/4]
◆ operator+ [2/4]
◆ operator+ [3/4]
◆ operator+ [4/4]
◆ operator<
Definition at line 68 of file key.hpp.
68{ return l.value < r.value; }
◆ operator<= [1/3]
◆ operator<= [2/3]
◆ operator<= [3/3]
◆ operator== [1/3]
Definition at line 60 of file key.hpp.
60{ return l.value == r.value; }
◆ operator== [2/3]
◆ operator== [3/3]
◆ operator> [1/3]
◆ operator> [2/3]
◆ operator> [3/3]
◆ operator>= [1/3]
◆ operator>= [2/3]
◆ operator>= [3/3]
◆ value
std::int32_t Term::MetaKey::value |
The documentation for this class was generated from the following file: