OpenASIP
2.0
|
#include <DisassemblyGuard.hh>
Public Member Functions | |
DisassemblyGuard (DisassemblyElement *guarded, bool inverted) | |
virtual | ~DisassemblyGuard () |
const DisassemblyElement & | guardedElement () const |
bool | inverted () const |
virtual std::string | toString () const |
Protected Attributes | |
bool | inverted_ |
True, if the guard is inverted. More... | |
Private Attributes | |
DisassemblyElement * | guardedElement_ |
The element which is guarded. More... | |
Represents a guard for the Disassembler.
Definition at line 41 of file DisassemblyGuard.hh.
DisassemblyGuard::DisassemblyGuard | ( | DisassemblyElement * | guardedElement, |
bool | inverted | ||
) |
The constructor.
guardedElement | The element which the guard refers to. |
inverted | Defines if the guard is inverted or not. |
Definition at line 41 of file DisassemblyGuard.cc.
|
virtual |
const DisassemblyElement & DisassemblyGuard::guardedElement | ( | ) | const |
Returns the element which the guard refers to.
Definition at line 73 of file DisassemblyGuard.cc.
References guardedElement_.
bool DisassemblyGuard::inverted | ( | ) | const |
True, if the guard is inverted.
Definition at line 62 of file DisassemblyGuard.cc.
References inverted_.
|
virtual |
Returns disassembly of the guard.
Reimplemented in DisassemblySequentialGuard.
Definition at line 84 of file DisassemblyGuard.cc.
References guardedElement_, inverted_, and DisassemblyElement::toString().
Referenced by DisassemblyMove::toString().
|
private |
The element which is guarded.
Definition at line 54 of file DisassemblyGuard.hh.
Referenced by guardedElement(), toString(), and ~DisassemblyGuard().
|
protected |
True, if the guard is inverted.
Definition at line 51 of file DisassemblyGuard.hh.
Referenced by inverted(), DisassemblySequentialGuard::toString(), and toString().