72 [[nodiscard]] auto
equals(const
object& obj) const noexcept ->
bool override;
auto get_hash_code() const noexcept -> xtd::size override
Serves as a hash function for a particular type.
auto key() const noexcept -> console_key
Gets the console key represented by the current console_key_info object.
auto modifiers() const noexcept -> console_modifiers
Gets a bitwise combination of console_modifiers values that specifies one or more modifier keys press...
console_key_info() noexcept=default
Create a new instance of console_key_info class.
auto key_char() const noexcept -> char32
Gets the Unicode character represented by the current console_key_info object.
auto equals(const object &obj) const noexcept -> bool override
Determines whether the specified object is equal to the current object.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:23
object()=default
Create a new instance of the ultimate base class object.
Contains xtd::console_key enum class.
Contains xtd::console_modifiers enum class.
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:23
console_modifiers
Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.
Definition console_modifiers.hpp:20
console_key
Specifies the standard keys on a console.
Definition console_key.hpp:20
@ shift
The left or right SHIFT modifier key.
Definition console_modifiers.hpp:26
@ alt
The left or right ALT modifier key.
Definition console_modifiers.hpp:24
@ control
The left or right CTRL modifier key.
Definition console_modifiers.hpp:28
Contains xtd::iequatable interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::object class.