Class StructLayout.AbstractBoolean
java.lang.Object
jnr.ffi.StructLayout.Field
jnr.ffi.StructLayout.AbstractField
jnr.ffi.StructLayout.AbstractBoolean
- Direct Known Subclasses:
StructLayout.BOOL16, StructLayout.Boolean, StructLayout.WBOOL
- Enclosing class:
StructLayout
Base class for Boolean fields
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBoolean(NativeType type) protectedAbstractBoolean(NativeType type, StructLayout.Offset offset) -
Method Summary
Methods inherited from class StructLayout.Field
enclosing, offset
-
Constructor Details
-
AbstractBoolean
-
AbstractBoolean
-
-
Method Details
-
get
Gets the value for this field.- Parameters:
ptr- The pointer to the field.- Returns:
- a boolean.
-
set
Sets the field to a new value.- Parameters:
ptr- The pointer to the field.value- The new value.
-
toString
-