#include <genesisrawcode.hh>
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 |
GenesisRawCode::GenesisRawCode | ( | int | address, | |
int | value | |||
) |
Constructor for an GenesisRawCode.
address | The code's address. | |
value | The code's value. |
Definition at line 29 of file genesisrawcode.cc.
void GenesisRawCode::setAddress | ( | int | address | ) | [virtual] |
Sets the address of this RawCode.
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.
value | The new value. |
Implements ggencoder::RawCode.
Definition at line 38 of file genesisrawcode.cc.
int ggencoder::RawCode::getAddress | ( | ) | const [inline, virtual, inherited] |
int ggencoder::RawCode::getValue | ( | ) | const [inline, virtual, inherited] |
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.