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)

Private Attributes

char * remote
char * code
eKeys key


Detailed Description

Definition at line 87 of file keys.h.


Constructor & Destructor Documentation

cKey::cKey ( void   ) 

Definition at line 74 of file keys.c.

References code, key, kNone, and remote.

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

Definition at line 80 of file keys.c.

References code, key, and remote.

cKey::~cKey (  ) 

Definition at line 87 of file keys.c.

References code, and remote.


Member Function Documentation

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

Definition at line 96 of file keys.h.

References remote.

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

Definition at line 97 of file keys.h.

References code.

eKeys cKey::Key ( void   )  [inline]

Definition at line 98 of file keys.h.

References key.

Referenced by cInterface::QueryKeys().

bool cKey::Parse ( char *  s  ) 

Definition at line 93 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 115 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 120 of file keys.c.

References kNone, and tKey::name.

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

const char * cKey::ToString ( eKeys  Key  )  [static]

Definition at line 131 of file keys.c.

References tKey::name.

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


Member Data Documentation

char* cKey::remote [private]

Definition at line 89 of file keys.h.

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

char* cKey::code [private]

Definition at line 90 of file keys.h.

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

eKeys cKey::key [private]

Definition at line 91 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 Nov 6 20:13:06 2007 for VDR by  doxygen 1.5.3-20071008