ReactOS  0.4.13-dev-464-g6b95727
KeyMap Struct Reference

#include <tkeymap.h>

Collaboration diagram for KeyMap:

Public Member Functions

 KeyMap (DWORD state, DWORD code)
 
 KeyMap ()
 
 KeyMap (TKeyDef &tk)
 
 KeyMap (TKeyDef &tk, string &)
 
 KeyMap (const string &t)
 
int operator== (const KeyMap &t) const
 
KeyMapoperator= (const KeyMap &t)
 
 ~KeyMap ()
 

Public Attributes

keyArray map
 
string orig
 
TKeyDef key
 

Friends

bool operator< (const KeyMap &t1, const KeyMap &t2)
 

Detailed Description

Definition at line 17 of file tkeymap.h.

Constructor & Destructor Documentation

◆ KeyMap() [1/5]

KeyMap::KeyMap ( DWORD  state,
DWORD  code 
)

Definition at line 34 of file tkeymap.cpp.

34  : map(0,0,sizeof(TKeyDef)),
35  key(NULL,state,code) {};
TKeyDef key
Definition: tkeymap.h:20
smooth NULL
Definition: ftsmooth.c:416
static int state
Definition: maze.c:121
keyArray map
Definition: tkeymap.h:18

◆ KeyMap() [2/5]

KeyMap::KeyMap ( )
inline

Definition at line 23 of file tkeymap.h.

23 : map(0,0,sizeof(TKeyDef)){};
keyArray map
Definition: tkeymap.h:18

◆ KeyMap() [3/5]

KeyMap::KeyMap ( TKeyDef tk)

Definition at line 37 of file tkeymap.cpp.

37  :map(0,0,sizeof(TKeyDef)){
38  key = tk;
39 };
keyArray map
Definition: tkeymap.h:18
Definition: path.c:42

◆ KeyMap() [4/5]

KeyMap::KeyMap ( TKeyDef tk,
string t 
)

Definition at line 40 of file tkeymap.cpp.

40  :map(0,0,sizeof(TKeyDef)), orig(t){
41  key = tk;
42 };
GLdouble GLdouble t
Definition: gl.h:2047
keyArray map
Definition: tkeymap.h:18
string orig
Definition: tkeymap.h:19
Definition: path.c:42

◆ KeyMap() [5/5]

KeyMap::KeyMap ( const string t)
inline

Definition at line 26 of file tkeymap.h.

26 : map(0,0,sizeof(TKeyDef)), orig(t) {};
GLdouble GLdouble t
Definition: gl.h:2047
keyArray map
Definition: tkeymap.h:18
string orig
Definition: tkeymap.h:19

◆ ~KeyMap()

KeyMap::~KeyMap ( )

Definition at line 61 of file tkeymap.cpp.

61  {
62 };

Member Function Documentation

◆ operator=()

Definition at line 48 of file tkeymap.cpp.

48  {
49  key = t.key;
50  map = t.map;
51  orig = t.orig;
52  return (*this);
53 };
GLdouble GLdouble t
Definition: gl.h:2047
Definition: _map.h:44
map()
Definition: _map.h:99
string orig
Definition: tkeymap.h:19
Definition: path.c:42

◆ operator==()

int KeyMap::operator== ( const KeyMap t) const

Definition at line 44 of file tkeymap.cpp.

44  {
45  return key == t.key;
46 };
GLdouble GLdouble t
Definition: gl.h:2047
Definition: path.c:42

Friends And Related Function Documentation

◆ operator<

bool operator< ( const KeyMap t1,
const KeyMap t2 
)
friend

Definition at line 56 of file tkeymap.cpp.

56  {
57  return t1.key < t2.key;
58 }
TKeyDef key
Definition: tkeymap.h:20

Member Data Documentation

◆ key

TKeyDef KeyMap::key

Definition at line 20 of file tkeymap.h.

Referenced by operator<().

◆ map

keyArray KeyMap::map

Definition at line 18 of file tkeymap.h.

◆ orig

string KeyMap::orig

Definition at line 19 of file tkeymap.h.

Referenced by operator=().


The documentation for this struct was generated from the following files: