#include <nesgamegeniecode.hh>
Inheritance diagram for emuWorks::NESGameGenieCode:
Definition at line 34 of file nesgamegeniecode.hh.
Public Member Functions | |
const char * | getAlphabet () |
Gets the game genie alphabet. | |
QString | getCode () |
Gets the game genie code. | |
void | setCode (QString &code) |
Sets the game genie code. | |
virtual int | getAlphabetCount () |
Gets the number of letters in the game genie alphabet. | |
virtual int | toHex (char letter) |
Gets the corresponding hex value for a particular game genie letter. | |
Static Public Member Functions | |
static NESGameGenieCode | create (QString &code) |
Creates an NESGameGenieCode object. | |
static bool | isValidCode (QString &code) |
Checks if the code is a valid game genie code. | |
Static Public Attributes | |
static const char | ALPHABET [] |
The game genie alphabet. | |
Protected Attributes | |
QString | code |
Private Member Functions | |
NESGameGenieCode (QString &code) | |
Constructor for an NESGameGenieCode. |
|
Constructor for an NESGameGenieCode.
Definition at line 69 of file nesgamegeniecode.hh. |
|
Creates an NESGameGenieCode object.
Definition at line 35 of file nesgamegeniecode.cc. |
|
Gets the game genie alphabet.
Implements emuWorks::GameGenieCode. Definition at line 76 of file nesgamegeniecode.cc. |
|
Gets the number of letters in the game genie alphabet.
Reimplemented in emuWorks::GenesisGameGenieCode. Definition at line 67 of file gamegeniecode.hh. |
|
Gets the game genie code.
Definition at line 46 of file gamegeniecode.hh. |
|
Checks if the code is a valid game genie code.
Definition at line 43 of file nesgamegeniecode.cc. |
|
Sets the game genie code.
Definition at line 53 of file gamegeniecode.hh. |
|
Gets the corresponding hex value for a particular game genie letter.
Definition at line 31 of file gamegeniecode.cc. |
|
Initial value: { 'A', 'P', 'Z', 'L', 'G', 'I', 'T', 'Y', 'E', 'O', 'X', 'U', 'K', 'S', 'V', 'N' }
Definition at line 64 of file nesgamegeniecode.hh. |
|
Definition at line 78 of file gamegeniecode.hh. |