OpenASIP 2.2
|
#include <NullGuardField.hh>
Static Public Member Functions | |
static NullGuardField & | instance () |
Private Member Functions | |
NullGuardField () | |
virtual | ~NullGuardField () |
Static Private Attributes | |
static NullGuardField | instance_ |
The only instance of NullGuardField. | |
static MoveSlot | moveSlot_ |
The parent move slot. | |
static BinaryEncoding | bem_ |
The parent binary encoding. | |
Additional Inherited Members | |
![]() | |
GuardField (MoveSlot &parent) | |
GuardField (const ObjectState *state, MoveSlot &parent) | |
virtual | ~GuardField () |
MoveSlot * | parent () const |
void | addGuardEncoding (GPRGuardEncoding &encoding) |
void | removeGuardEncoding (GPRGuardEncoding &encoding) |
void | addGuardEncoding (FUGuardEncoding &encoding) |
void | removeGuardEncoding (FUGuardEncoding &encoding) |
void | addGuardEncoding (UnconditionalGuardEncoding &encoding) |
void | removeUnconditionalGuardEncoding (UnconditionalGuardEncoding &encoding) |
int | gprGuardEncodingCount () const |
GPRGuardEncoding & | gprGuardEncoding (int index) const |
bool | hasGPRGuardEncoding (const std::string ®File, int index, bool inverted) const |
GPRGuardEncoding & | gprGuardEncoding (const std::string ®File, int index, bool inverted) const |
int | fuGuardEncodingCount () const |
FUGuardEncoding & | fuGuardEncoding (int index) const |
bool | hasFUGuardEncoding (const std::string &fu, const std::string &port, bool inverted) const |
FUGuardEncoding & | fuGuardEncoding (const std::string &fu, const std::string &port, bool inverted) const |
bool | hasUnconditionalGuardEncoding (bool inverted) const |
UnconditionalGuardEncoding & | unconditionalGuardEncoding (bool inverted) const |
virtual int | childFieldCount () const |
virtual InstructionField & | childField (int) const |
virtual int | width () const |
virtual void | loadState (const ObjectState *state) |
virtual ObjectState * | saveState () const |
![]() | |
virtual | ~InstructionField () |
InstructionField * | parent () const |
int | bitPosition () const |
int | relativePosition () const |
virtual void | setRelativePosition (int position) |
void | setExtraBits (int bits) |
int | extraBits () const |
![]() | |
virtual | ~Serializable () |
![]() | |
static const std::string | OSNAME_GUARD_FIELD = "guard_field" |
ObjectState name for guard field. | |
![]() | |
static const std::string | OSNAME_INSTRUCTION_FIELD = "instr_field" |
ObjectState name for instruction field. | |
static const std::string | OSKEY_EXTRA_BITS = "extra_bits" |
ObjectState attribute key for the number of extra bits. | |
static const std::string | OSKEY_POSITION = "position" |
ObjectState attribute key for the relative position of the field. | |
![]() | |
InstructionField (InstructionField *parent) | |
InstructionField (const ObjectState *state, InstructionField *parent) | |
void | setParent (InstructionField *parent) |
![]() | |
static void | reorderSubfields (ObjectState *state) |
A null version of the GuardField class.
Definition at line 43 of file NullGuardField.hh.
|
private |
The constructor.
Definition at line 44 of file NullGuardField.cc.
|
privatevirtual |
|
static |
Returns the instance of NullGuardField.
Definition at line 61 of file NullGuardField.cc.
References instance_.
Referenced by MoveSlot::guardField().
|
staticprivate |
The parent binary encoding.
Definition at line 56 of file NullGuardField.hh.
|
staticprivate |
The only instance of NullGuardField.
Definition at line 52 of file NullGuardField.hh.
Referenced by instance().
|
staticprivate |
The parent move slot.
Definition at line 54 of file NullGuardField.hh.