OpenASIP
2.0
|
#include <DisassemblyMove.hh>
Public Member Functions | |
DisassemblyMove (DisassemblyElement *source, DisassemblyElement *destination, DisassemblyGuard *guard=NULL) | |
virtual | ~DisassemblyMove () |
virtual std::string | toString () const |
Public Member Functions inherited from DisassemblyInstructionSlot | |
virtual | ~DisassemblyInstructionSlot () |
DisassemblyAnnotation & | annotation (int index) const |
void | addAnnotation (DisassemblyAnnotation *annotation) |
int | annotationCount () const |
Private Member Functions | |
DisassemblyMove (const DisassemblyMove &) | |
Coying not allowed. More... | |
DisassemblyMove & | operator= (const DisassemblyMove &) |
Assignment not allowed. More... | |
Private Attributes | |
DisassemblyElement * | source_ |
The source of the move. More... | |
DisassemblyElement * | destination_ |
The destination of the move. More... | |
DisassemblyGuard * | guard_ |
Possible guard of the move. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DisassemblyInstructionSlot | |
DisassemblyInstructionSlot () | |
Represents a move in the disassembler.
Definition at line 44 of file DisassemblyMove.hh.
DisassemblyMove::DisassemblyMove | ( | DisassemblyElement * | source, |
DisassemblyElement * | destination, | ||
DisassemblyGuard * | guard = NULL |
||
) |
Creates disassembler of a move.
source | The source element of the move. |
destination | The destination element of the move. |
guard | Move guard, or NULL if the move is not guarded. |
Definition at line 44 of file DisassemblyMove.cc.
|
virtual |
The destructor.
Definition at line 57 of file DisassemblyMove.cc.
References destination_, guard_, and source_.
|
private |
Coying not allowed.
|
private |
Assignment not allowed.
|
virtual |
Disassembles the move.
Implements DisassemblyInstructionSlot.
Definition at line 73 of file DisassemblyMove.cc.
References DisassemblyInstructionSlot::annotation(), DisassemblyInstructionSlot::annotationCount(), destination_, guard_, source_, DisassemblyElement::toString(), DisassemblyGuard::toString(), and DisassemblyAnnotation::toString().
Referenced by POMDisassembler::disassemble().
|
private |
The destination of the move.
Definition at line 63 of file DisassemblyMove.hh.
Referenced by toString(), and ~DisassemblyMove().
|
private |
Possible guard of the move.
Definition at line 65 of file DisassemblyMove.hh.
Referenced by toString(), and ~DisassemblyMove().
|
private |
The source of the move.
Definition at line 61 of file DisassemblyMove.hh.
Referenced by toString(), and ~DisassemblyMove().