- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.NativeIntNumber
-
- de.ibapl.jnhw.posix.Termios.Tcflag_t
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Termios
public static class Termios.Tcflag_t extends NativeIntNumber
-
-
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.NativeMemoryAlignment
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Constructor Summary
Constructors Constructor Description Tcflag_t(boolean clearMem)Tcflag_t(OpaqueMemory32 owner, int offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intalignof()static voidc_cflag2String(Appendable sb, int c_cflag)static voidc_iflag2String(Appendable sb, int c_iflag)static voidc_lflag2String(Appendable sb, int c_lflag)static voidc_oflag2String(Appendable sb, int c_oflag)BaseDataTypesgetBaseDataType()intgetValue()StringnativeToHexString()StringnativeToString()the native value as hex string.voidnativeToString(Appendable sb, String indentPrefix, String indent)voidsetValue(int value)static intsizeof()static booleanunsigned()-
Methods inherited from class de.ibapl.jnhw.common.memory.NativeIntNumber
getIntegerType, nativeInt16ToHexString, nativeInt32ToHexString, nativeInt64ToHexString, nativeInt8ToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
calcNextOffset, clear, copy, copy, equals, getByte, hashCode, memset, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Constructor Detail
-
Tcflag_t
public Tcflag_t(boolean clearMem)
-
Tcflag_t
public Tcflag_t(OpaqueMemory32 owner, int offset)
-
-
Method Detail
-
c_cflag2String
public static void c_cflag2String(Appendable sb, int c_cflag) throws IOException
- Throws:
IOException
-
c_iflag2String
public static void c_iflag2String(Appendable sb, int c_iflag) throws IOException
- Throws:
IOException
-
c_lflag2String
public static void c_lflag2String(Appendable sb, int c_lflag) throws IOException
- Throws:
IOException
-
c_oflag2String
public static void c_oflag2String(Appendable sb, int c_oflag) throws IOException
- Throws:
IOException
-
sizeof
@SizeOf public static final int sizeof()
-
alignof
@AlignOf public static final int alignof()
-
unsigned
@Unsigned public static final boolean unsigned()
-
getValue
public int getValue()
-
setValue
public void setValue(int value)
-
nativeToString
public void nativeToString(Appendable sb, String indentPrefix, String indent) throws IOException
- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Throws:
IOException
-
nativeToString
public String nativeToString()
the native value as hex string.- Specified by:
nativeToStringin interfaceNative- Overrides:
nativeToStringin classOpaqueMemory32- Returns:
-
nativeToHexString
public String nativeToHexString()
- Specified by:
nativeToHexStringin interfaceNative- Overrides:
nativeToHexStringin classNativeIntNumber
-
getBaseDataType
public BaseDataTypes getBaseDataType()
-
-