ReactOS 0.4.15-dev-7934-g1dc8d80
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) {};
static int state
Definition: maze.c:121
#define NULL
Definition: types.h:112
keyArray map
Definition: tkeymap.h:18
TKeyDef key
Definition: tkeymap.h:20
Definition: inflate.c:139

◆ KeyMap() [2/5]

KeyMap::KeyMap ( )
inline

Definition at line 23 of file tkeymap.h.

23: map(0,0,sizeof(TKeyDef)){};

◆ 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};
Definition: copy.c:22

◆ KeyMap() [4/5]

KeyMap::KeyMap ( TKeyDef tk,
string  
)

◆ 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
string orig
Definition: tkeymap.h:19

◆ ~KeyMap()

KeyMap::~KeyMap ( )

Definition at line 61 of file tkeymap.cpp.

61 {
62};

Member Function Documentation

◆ operator=()

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

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};
Definition: _map.h:48
map()
Definition: _map.h:99

◆ operator==()

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

Definition at line 44 of file tkeymap.cpp.

44 {
45 return key == t.key;
46};

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}

Member Data Documentation

◆ key

TKeyDef KeyMap::key

Definition at line 20 of file tkeymap.h.

◆ 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: