Go to the documentation of this file.
61 const std::string& name,
unsigned int encoding,
unsigned int extraBits,
63 :
Encoding(encoding, extraBits, NULL), bridge_(name) {
82 :
Encoding(state, NULL), bridge_(
"") {
83 const string procName =
"BridgeEncoding::BridgeEncoding";
std::string stringAttribute(const std::string &name) const
SourceField * parent() const
void setParent(InstructionField *parent)
InstructionField * parent() const
void setName(const std::string &name)
static const std::string OSNAME_BRIDGE_ENCODING
ObjectState name for bridge encoding.
#define assert(condition)
virtual int width() const
std::string bridge_
Name of the bridge.
void removeBridgeEncoding(BridgeEncoding &encoding)
virtual ObjectState * saveState() const
virtual int width() const
virtual int bitPosition() const
std::string bridgeName() const
std::string errorMessage() const
static const std::string OSKEY_BRIDGE_NAME
ObjectState attribute key for the name of the bridge.
virtual ObjectState * saveState() const
virtual ~BridgeEncoding()
BridgeEncoding(const std::string &name, unsigned int encoding, unsigned int extraBits, SourceField &parent)
void addBridgeEncoding(BridgeEncoding &encoding)
void setAttribute(const std::string &name, const std::string &value)