- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.NativeIntNumber
-
- de.ibapl.jnhw.common.memory.AsSignedInt
-
- All Implemented Interfaces:
Native
public class AsSignedInt extends NativeIntNumber
- Author:
- aploese
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.SetMem
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, LOG, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description AsSignedInt(BaseDataType nativeType, AbstractNativeMemory owner, long offset, AbstractNativeMemory.SetMem setMem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAsSignedInt()BaseDataTypegetBaseDataType()StringnativeToHexString()voidnativeToString(Appendable sb, String indentPrefix, String indent)voidsetFromSignedInt(int value)-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
checkIndex, clear, copy, copy, equals, getByte, getSizeInBytes, hashCode, memset, nativeToString, printMemory, printMemory, setByte, setMemTo, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
calcOffsetForAlignment, getOffset, getSizeInBytes, isSameAddress, offsetof, toNativeAddressHolder, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Constructor Detail
-
AsSignedInt
public AsSignedInt(BaseDataType nativeType, AbstractNativeMemory owner, long offset, AbstractNativeMemory.SetMem setMem)
-
-
Method Detail
-
getAsSignedInt
public int getAsSignedInt()
-
setFromSignedInt
public void setFromSignedInt(int value)
-
nativeToHexString
public String nativeToHexString()
-
nativeToString
public void nativeToString(Appendable sb, String indentPrefix, String indent) throws IOException
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Throws:
IOException
-
getBaseDataType
public BaseDataType getBaseDataType()
-
-