#include <ukeystroke.hpp>
Inheritance diagram for ufo::UKeyStroke:
Public Member Functions | |
UKeyStroke (const char *key) | |
UKeyStroke (const std::string &key) | |
UKeyStroke (wchar_t keyChar, bool onKeyRelease=false) | |
UKeyStroke (UKeyCode_t keyCode, UMod_t modifiers=UMod::NoModifier, bool onKeyRelease=false) | |
UKeyStroke (wchar_t keyChar, UKeyCode_t keyCode, UMod_t modifiers=UMod::NoModifier, bool onKeyRelease=false) | |
UKeyStroke (UKeyEvent *e) | |
bool | operator== (const UKeyStroke &) const |
bool | operator!= (const UKeyStroke &) const |
bool | operator< (const UKeyStroke &) const |
wchar_t | getKeyChar () const |
UKeyCode_t | getKeyCode () const |
UMod_t | getModifiers () const |
bool | onKeyRelease () const |
virtual std::string | toString () const |
virtual unsigned int | hashCode () const |
virtual bool | equals (const UObject *objA) const |
virtual bool | equals (const UKeyStroke *strokeA) const |
|
checks if this object is the same object than obj Reimplemented from ufo::UObject.
|
|
returns a std::size_t which is used when UObject pointers are the keys for UHashMap. If equals(UObject*) returns true, these two objects should return the same hash code. If these objects are different, the hash code may be equal.
Reimplemented from ufo::UObject.
|
|
For use in std::map |
|
std::string representation Reimplemented from ufo::UObject.
|