ggencoder::Encoder Class Reference

#include <encoder.hh>

List of all members.


Detailed Description

A class to encode raw/PAR codes into Game Genie codes.

Definition at line 41 of file encoder.hh.


Static Public Member Functions

static GBGGGameGenieCode encode (const GBGGRawCode &code)
 Encodes a GBGGRawCode into a GameGenieCode.
static GenesisGameGenieCode encode (const GenesisRawCode &code)
 Encodes a GenesisRawCode into a GameGenieCode.
static NESGameGenieCode encode (const NESRawCode &code)
 Encodes an NESRawCode into a GameGenieCode.
static SNESGameGenieCode encode (const SNESRawCode &code)
 Encodes an SNESRawCode into a GameGenieCode.

Private Member Functions

 Encoder ()
 Constructor for an Encoder.

Constructor & Destructor Documentation

ggencoder::Encoder::Encoder (  )  [inline, private]

Constructor for an Encoder.

Private to prevent instantiation.

Definition at line 86 of file encoder.hh.


Member Function Documentation

GBGGGameGenieCode Encoder::encode ( const GBGGRawCode code  )  [static]

Encodes a GBGGRawCode into a GameGenieCode.

Parameters:
code The GBGGRawCode.
Returns:
The encoded GameGenieCode.

Definition at line 38 of file encoder.cc.

GenesisGameGenieCode Encoder::encode ( const GenesisRawCode code  )  [static]

Encodes a GenesisRawCode into a GameGenieCode.

Parameters:
code The GenesisRawCode.
Returns:
The encoded GameGenieCode.

Definition at line 83 of file encoder.cc.

NESGameGenieCode Encoder::encode ( const NESRawCode code  )  [static]

Encodes an NESRawCode into a GameGenieCode.

Parameters:
code The NESRawCode.
Returns:
The encoded GameGenieCode.

Definition at line 151 of file encoder.cc.

SNESGameGenieCode Encoder::encode ( const SNESRawCode code  )  [static]

Encodes an SNESRawCode into a GameGenieCode.

Parameters:
code The SNESRawCode.
Returns:
The encoded GameGenieCode.

Definition at line 219 of file encoder.cc.


Generated on Thu Dec 18 01:01:25 2008 for Game Genie Encoder/Decoder by  doxygen 1.5.4