emuWorks::CompareRawCode Class Reference

#include <comparerawcode.hh>

Inheritance diagram for emuWorks::CompareRawCode:

emuWorks::GBGGRawCode emuWorks::NESRawCode List of all members.

Detailed Description

A raw code interface with a compare value.

Definition at line 32 of file comparerawcode.hh.

Public Member Functions

bool hasCompare () const
 Checks if this CompareRawCode uses a compare value.
int getCompare () const
 Gets the compare value of this CompareRawCode.
void setCompare (int compare)
 Sets the compare value of this CompareRawCode.

Protected Attributes

int compare


Member Function Documentation

int emuWorks::CompareRawCode::getCompare (  )  const [inline]

Gets the compare value of this CompareRawCode.

Returns:
The compare value.

Definition at line 61 of file comparerawcode.hh.

bool emuWorks::CompareRawCode::hasCompare (  )  const [inline]

Checks if this CompareRawCode uses a compare value.

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

Definition at line 59 of file comparerawcode.hh.

void emuWorks::CompareRawCode::setCompare ( int  compare  )  [inline]

Sets the compare value of this CompareRawCode.

Parameters:
compare The new compare value.

Definition at line 63 of file comparerawcode.hh.


Member Data Documentation

int emuWorks::CompareRawCode::compare [protected]

Definition at line 34 of file comparerawcode.hh.


Generated on Sat Aug 19 11:57:23 2006 for Game Genie Encoder/Decoder by  doxygen 1.4.7