public interface LocationAccessor
LocationAccessor
interface is used by the simulator to access data stored
in the specified location. This should not cause any memory-related event in the model.Modifier and Type | Method and Description |
---|---|
int |
getBitSize()
Returns the size of the location in bits.
|
java.math.BigInteger |
getValue()
Returns the value stored in the location packed in a BigInteger object.
|
void |
setValue(java.math.BigInteger value)
Sets the value of the specified location.
|
java.lang.String |
toBinString()
Returns textual representation of stored data (a string of 0 and 1 characters).
|
ru.ispras.fortress.data.types.bitvector.BitVector |
toBitVector()
Returns stored data in the form of a bit vector.
|
int getBitSize()
java.lang.String toBinString()
ru.ispras.fortress.data.types.bitvector.BitVector toBitVector()
java.math.BigInteger getValue()
void setValue(java.math.BigInteger value)
value
- Binary data packed in a BigInteger object.