ggencoder::RawCode Class Reference

#include <rawcode.hh>

Inheritance diagram for ggencoder::RawCode:

ggencoder::GBGGRawCode ggencoder::GenesisRawCode ggencoder::NESRawCode ggencoder::SNESRawCode

List of all members.


Detailed Description

Interface for a raw hex/PAR code.

Definition at line 32 of file rawcode.hh.


Public Member Functions

virtual ~RawCode ()
 Virtual destructor for RawCode derivatives.
virtual int getAddress () const
 Gets the address of this RawCode.
virtual void setAddress (int address)=0
 Sets the address of this RawCode.
virtual int getValue () const
 Gets the value of this RawCode.
virtual void setValue (int value)=0
 Sets the value of this RawCode.

Protected Attributes

int address
int value

Constructor & Destructor Documentation

ggencoder::RawCode::~RawCode (  )  [inline, virtual]

Virtual destructor for RawCode derivatives.

Definition at line 72 of file rawcode.hh.


Member Function Documentation

int ggencoder::RawCode::getAddress (  )  const [inline, virtual]

Gets the address of this RawCode.

Returns:
The address.

Definition at line 73 of file rawcode.hh.

virtual void ggencoder::RawCode::setAddress ( int  address  )  [pure virtual]

Sets the address of this RawCode.

Parameters:
address The new address.

Implemented in ggencoder::GBGGRawCode, ggencoder::GenesisRawCode, ggencoder::NESRawCode, and ggencoder::SNESRawCode.

int ggencoder::RawCode::getValue (  )  const [inline, virtual]

Gets the value of this RawCode.

Returns:
The value.

Definition at line 74 of file rawcode.hh.

virtual void ggencoder::RawCode::setValue ( int  value  )  [pure virtual]

Sets the value of this RawCode.

Parameters:
value The new value.

Implemented in ggencoder::GBGGRawCode, ggencoder::GenesisRawCode, ggencoder::NESRawCode, and ggencoder::SNESRawCode.


Member Data Documentation

int ggencoder::RawCode::address [protected]

Definition at line 34 of file rawcode.hh.

int ggencoder::RawCode::value [protected]

Definition at line 35 of file rawcode.hh.


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