ggencoder::GenesisRawCode Class Reference

#include <genesisrawcode.hh>

Inheritance diagram for ggencoder::GenesisRawCode:

ggencoder::RawCode

List of all members.


Detailed Description

Implementation of a Genesis raw (or PAR) code.

Definition at line 34 of file genesisrawcode.hh.


Public Member Functions

 GenesisRawCode (int address, int value)
 Constructor for an GenesisRawCode.
void setAddress (int address)
 Sets the address of this RawCode.
void setValue (int value)
 Sets the value of this RawCode.
virtual int getAddress () const
 Gets the address of this RawCode.
virtual int getValue () const
 Gets the value of this RawCode.

Protected Attributes

int address
int value

Constructor & Destructor Documentation

GenesisRawCode::GenesisRawCode ( int  address,
int  value 
)

Constructor for an GenesisRawCode.

Parameters:
address The code's address.
value The code's value.

Definition at line 29 of file genesisrawcode.cc.


Member Function Documentation

void GenesisRawCode::setAddress ( int  address  )  [virtual]

Sets the address of this RawCode.

Parameters:
address The new address.

Implements ggencoder::RawCode.

Definition at line 34 of file genesisrawcode.cc.

void GenesisRawCode::setValue ( int  value  )  [virtual]

Sets the value of this RawCode.

Parameters:
value The new value.

Implements ggencoder::RawCode.

Definition at line 38 of file genesisrawcode.cc.

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

Gets the address of this RawCode.

Returns:
The address.

Definition at line 73 of file rawcode.hh.

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

Gets the value of this RawCode.

Returns:
The value.

Definition at line 74 of file rawcode.hh.


Member Data Documentation

int ggencoder::RawCode::address [protected, inherited]

Definition at line 34 of file rawcode.hh.

int ggencoder::RawCode::value [protected, inherited]

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