java.lang.Object
jnr.ffi.StructLayout.Field
jnr.ffi.StructLayout.NumberField
jnr.ffi.StructLayout.EnumField<E>
jnr.ffi.StructLayout.Enum64<E>
- Enclosing class:
- StructLayout
-
Field Summary
Fields inherited from class jnr.ffi.StructLayout.EnumField
enumClass, enumMapper
Fields inherited from class jnr.ffi.StructLayout.NumberField
type
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jnr.ffi.StructLayout.EnumField
get, toString
Methods inherited from class jnr.ffi.StructLayout.NumberField
byteValue, doubleValue, floatValue, shortValue
Methods inherited from class jnr.ffi.StructLayout.Field
enclosing, offset
-
Constructor Details
-
Enum64
-
Enum64
-
-
Method Details
-
set
-
set
Description copied from class:StructLayout.NumberField
Sets the field to a new value.- Specified by:
set
in classStructLayout.NumberField
- Parameters:
ptr
- The pointer to the field.value
- The new value.
-
intValue
Description copied from class:StructLayout.NumberField
Returns aint
representation of thisNumber
.- Specified by:
intValue
in classStructLayout.NumberField
- Parameters:
ptr
- The pointer to the field.- Returns:
- a
int
value for thisNumber
.
-
longValue
Description copied from class:StructLayout.NumberField
Returns along
representation of thisNumber
.- Overrides:
longValue
in classStructLayout.NumberField
- Parameters:
ptr
- The pointer to the field.- Returns:
- a
long
value for thisNumber
.
-