Package jnr.ffi
Class Struct.WBOOL
- java.lang.Object
-
- jnr.ffi.Struct.Member
-
- jnr.ffi.Struct.AbstractMember
-
- jnr.ffi.Struct.AbstractBoolean
-
- jnr.ffi.Struct.WBOOL
-
- Enclosing class:
- Struct
public final class Struct.WBOOL extends Struct.AbstractBoolean
A Windows BOOL - 4 bytes
-
-
Constructor Summary
Constructors Constructor Description WBOOL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
get()
Gets the value for this field.void
set(boolean value)
Sets the field to a new value.-
Methods inherited from class jnr.ffi.Struct.AbstractBoolean
toString
-
Methods inherited from class jnr.ffi.Struct.AbstractMember
getMemory, offset, struct
-
-
-
-
Method Detail
-
get
public final boolean get()
Description copied from class:Struct.AbstractBoolean
Gets the value for this field.- Specified by:
get
in classStruct.AbstractBoolean
- Returns:
- a boolean.
-
set
public final void set(boolean value)
Description copied from class:Struct.AbstractBoolean
Sets the field to a new value.- Specified by:
set
in classStruct.AbstractBoolean
- Parameters:
value
- The new value.
-
-