ggencoder::SNESRawCode Class Reference

#include <snesrawcode.hh>

Inheritance diagram for ggencoder::SNESRawCode:

ggencoder::RawCode

List of all members.


Detailed Description

Implementation of an SNES raw (or PAR) code.

Definition at line 34 of file snesrawcode.hh.


Public Member Functions

 SNESRawCode (int address, int value)
 Constructor for an SNESRawCode.
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

SNESRawCode::SNESRawCode ( int  address,
int  value 
)

Constructor for an SNESRawCode.

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

Definition at line 29 of file snesrawcode.cc.


Member Function Documentation

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

Sets the address of this RawCode.

Parameters:
address The new address.

Implements ggencoder::RawCode.

Definition at line 34 of file snesrawcode.cc.

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

Sets the value of this RawCode.

Parameters:
value The new value.

Implements ggencoder::RawCode.

Definition at line 38 of file snesrawcode.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