Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

emuWorks::GBGGRawCode Class Reference

#include <gbggrawcode.hh>

Inheritance diagram for emuWorks::GBGGRawCode:

emuWorks::RawCode emuWorks::CompareRawCode List of all members.

Detailed Description

Implementation of an GBGG raw hex code.

Definition at line 35 of file gbggrawcode.hh.

Public Member Functions

 GBGGRawCode (int address, int value, int compare)
 Constructor for a GBGGRawCode with a compare value.
 GBGGRawCode (int address, int value)
 Constructor for a GBGGRawCode with no compare value.
void setAddress (int address)
 Sets the address of this RawCode.
void setValue (int value)
 Sets the value of this RawCode.
virtual int getAddress ()
 Gets the address of this RawCode.
virtual int getValue ()
 Gets the value of this RawCode.
bool hasCompare ()
 Checks if this CompareRawCode uses a compare value.
int getCompare ()
 Gets the compare value of this CompareRawCode.
void setCompare (int compare)
 Sets the compare value of this CompareRawCode.

Protected Attributes

int address
int value
int compare


Constructor & Destructor Documentation

GBGGRawCode::GBGGRawCode int  address,
int  value,
int  compare
 

Constructor for a GBGGRawCode with a compare value.

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

Definition at line 29 of file gbggrawcode.cc.

GBGGRawCode::GBGGRawCode int  address,
int  value
 

Constructor for a GBGGRawCode with no compare value.

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

Definition at line 35 of file gbggrawcode.cc.


Member Function Documentation

virtual int emuWorks::RawCode::getAddress  )  [inline, virtual, inherited]
 

Gets the address of this RawCode.

Returns:
The address.

Definition at line 39 of file rawcode.hh.

int emuWorks::CompareRawCode::getCompare  )  [inline, inherited]
 

Gets the compare value of this CompareRawCode.

Returns:
The compare value.

Definition at line 46 of file comparerawcode.hh.

virtual int emuWorks::RawCode::getValue  )  [inline, virtual, inherited]
 

Gets the value of this RawCode.

Returns:
The value.

Definition at line 53 of file rawcode.hh.

bool emuWorks::CompareRawCode::hasCompare  )  [inline, inherited]
 

Checks if this CompareRawCode uses a compare value.

Returns:
true if a compare is used; false otherwise.

Definition at line 39 of file comparerawcode.hh.

void GBGGRawCode::setAddress int  address  )  [virtual]
 

Sets the address of this RawCode.

Parameters:
address The new address.

Implements emuWorks::RawCode.

Definition at line 42 of file gbggrawcode.cc.

void emuWorks::CompareRawCode::setCompare int  compare  )  [inline, inherited]
 

Sets the compare value of this CompareRawCode.

Parameters:
compare The new compare value.

Definition at line 53 of file comparerawcode.hh.

void GBGGRawCode::setValue int  value  )  [virtual]
 

Sets the value of this RawCode.

Parameters:
value The new value.

Implements emuWorks::RawCode.

Definition at line 46 of file gbggrawcode.cc.


Member Data Documentation

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

Definition at line 62 of file rawcode.hh.

int emuWorks::CompareRawCode::compare [protected, inherited]
 

Definition at line 55 of file comparerawcode.hh.

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

Definition at line 63 of file rawcode.hh.


Generated on Sat Jul 30 15:01:51 2005 for Game Genie Encoder/Decoder by  doxygen 1.4.4