ggencoder::CompareRawCode Class Reference

#include <comparerawcode.hh>

Inheritance diagram for ggencoder::CompareRawCode:

ggencoder::GBGGRawCode ggencoder::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

bool ggencoder::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.

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

Gets the compare value of this CompareRawCode.

Returns:
The compare value.

Definition at line 61 of file comparerawcode.hh.

void ggencoder::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 ggencoder::CompareRawCode::compare [protected]

Definition at line 34 of file comparerawcode.hh.


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