OpenASIP
2.0
|
#include <NullImmediateControlField.hh>
Static Public Member Functions | |
static NullImmediateControlField & | instance () |
Private Member Functions | |
NullImmediateControlField () | |
virtual | ~NullImmediateControlField () |
Static Private Attributes | |
static NullImmediateControlField | field_ |
The only instance. More... | |
static BinaryEncoding | bem_ |
The parent binary encoding. More... | |
Additional Inherited Members | |
Public Member Functions inherited from ImmediateControlField | |
ImmediateControlField (BinaryEncoding &parent) | |
ImmediateControlField (const ObjectState *state, BinaryEncoding &parent) | |
virtual | ~ImmediateControlField () |
BinaryEncoding * | parent () const |
int | templateCount () const |
std::string | instructionTemplate (int index) const |
bool | hasTemplateEncoding (const std::string &name) const |
unsigned int | templateEncoding (const std::string &name) const |
void | addTemplateEncoding (const std::string &name, unsigned int encoding) |
void | removeTemplateEncoding (const std::string &name) |
virtual int | width () const |
virtual int | childFieldCount () const |
virtual InstructionField & | childField (int) const |
virtual void | loadState (const ObjectState *state) |
virtual ObjectState * | saveState () const |
Public Member Functions inherited from InstructionField | |
virtual | ~InstructionField () |
InstructionField * | parent () const |
int | bitPosition () const |
int | relativePosition () const |
virtual void | setRelativePosition (int position) |
void | setExtraBits (int bits) |
int | extraBits () const |
Public Member Functions inherited from Serializable | |
virtual | ~Serializable () |
Static Public Attributes inherited from ImmediateControlField | |
static const std::string | OSNAME_IMM_CONTROL_FIELD = "ic_field" |
ObjectState name for immediate control field. More... | |
static const std::string | OSNAME_TEMPLATE_MAP = "temp_map" |
ObjectState name for a template mapping. More... | |
static const std::string | OSKEY_TEMPLATE_NAME = "temp_name" |
ObjectState attribute key for the name of the instruction template. More... | |
static const std::string | OSKEY_ENCODING = "encoding" |
ObjectState attribute key for the encoding of the instruction template. More... | |
Static Public Attributes inherited from InstructionField | |
static const std::string | OSNAME_INSTRUCTION_FIELD = "instr_field" |
ObjectState name for instruction field. More... | |
static const std::string | OSKEY_EXTRA_BITS = "extra_bits" |
ObjectState attribute key for the number of extra bits. More... | |
static const std::string | OSKEY_POSITION = "position" |
ObjectState attribute key for the relative position of the field. More... | |
Protected Member Functions inherited from InstructionField | |
InstructionField (InstructionField *parent) | |
InstructionField (const ObjectState *state, InstructionField *parent) | |
void | setParent (InstructionField *parent) |
Static Protected Member Functions inherited from InstructionField | |
static void | reorderSubfields (ObjectState *state) |
A null class of ImmediateControlField.
Definition at line 41 of file NullImmediateControlField.hh.
|
private |
The constructor.
Definition at line 42 of file NullImmediateControlField.cc.
|
privatevirtual |
|
static |
Returns the only instance of ImmediateControlField.
Definition at line 58 of file NullImmediateControlField.cc.
References field_.
Referenced by BinaryEncoding::immediateControlField().
|
staticprivate |
The parent binary encoding.
Definition at line 52 of file NullImmediateControlField.hh.
|
staticprivate |
The only instance.
Definition at line 50 of file NullImmediateControlField.hh.
Referenced by instance().