cKey Class Reference

#include <keys.h>

Inheritance diagram for cKey:

Inheritance graph
[legend]
Collaboration diagram for cKey:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cKey (void)
 cKey (const char *Remote, const char *Code, eKeys Key)
 ~cKey ()
const char * Remote (void)
const char * Code (void)
eKeys Key (void)
bool Parse (char *s)
bool Save (FILE *f)

Static Public Member Functions

static eKeys FromString (const char *Name)
static const char * ToString (eKeys Key, bool Translate=false)

Private Attributes

char * remote
char * code
eKeys key


Detailed Description

Definition at line 89 of file keys.h.


Constructor & Destructor Documentation

cKey::cKey ( void   ) 

Definition at line 75 of file keys.c.

References code, key, kNone, and remote.

cKey::cKey ( const char *  Remote,
const char *  Code,
eKeys  Key 
)

Definition at line 81 of file keys.c.

References code, key, and remote.

cKey::~cKey (  ) 

Definition at line 88 of file keys.c.

References code, and remote.


Member Function Documentation

const char* cKey::Remote ( void   )  [inline]

Definition at line 98 of file keys.h.

References remote.

const char* cKey::Code ( void   )  [inline]

Definition at line 99 of file keys.h.

References code.

eKeys cKey::Key ( void   )  [inline]

Definition at line 100 of file keys.h.

References key.

Referenced by cInterface::QueryKeys().

bool cKey::Parse ( char *  s  ) 

Definition at line 94 of file keys.c.

References code, FromString(), key, kNone, remote, and skipspace().

Here is the call graph for this function:

bool cKey::Save ( FILE *  f  ) 

Definition at line 116 of file keys.c.

References code, key, remote, and ToString().

Here is the call graph for this function:

eKeys cKey::FromString ( const char *  Name  )  [static]

Definition at line 121 of file keys.c.

References kNone, and tKey::name.

Referenced by cSVDRP::CmdHITK(), cKeyMacro::Parse(), and Parse().

const char * cKey::ToString ( eKeys  Key,
bool  Translate = false 
) [static]

Definition at line 136 of file keys.c.

References tKey::name, and tr.

Referenced by cSVDRP::CmdHITK(), cInterface::QueryKeys(), and Save().


Member Data Documentation

char* cKey::remote [private]

Definition at line 91 of file keys.h.

Referenced by cKey(), Parse(), Remote(), Save(), and ~cKey().

char* cKey::code [private]

Definition at line 92 of file keys.h.

Referenced by cKey(), Code(), Parse(), Save(), and ~cKey().

eKeys cKey::key [private]

Definition at line 93 of file keys.h.

Referenced by cKey(), Key(), Parse(), and Save().


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

Generated on Tue Jan 13 14:29:10 2009 for VDR by  doxygen 1.5.6