jnr.ffi
Class StructLayout.WBOOL

java.lang.Object
  extended by jnr.ffi.StructLayout.Field
      extended by jnr.ffi.StructLayout.AbstractField
          extended by jnr.ffi.StructLayout.AbstractBoolean
              extended by jnr.ffi.StructLayout.WBOOL
Enclosing class:
StructLayout

protected final class StructLayout.WBOOL
extends StructLayout.AbstractBoolean

A Windows BOOL - 4 bytes


Constructor Summary
protected StructLayout.WBOOL()
           
 
Method Summary
 boolean get(Pointer ptr)
          Gets the value for this field.
 void set(Pointer ptr, boolean value)
          Sets the field to a new value.
 
Methods inherited from class jnr.ffi.StructLayout.AbstractBoolean
toString
 
Methods inherited from class jnr.ffi.StructLayout.Field
enclosing, offset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructLayout.WBOOL

protected StructLayout.WBOOL()
Method Detail

get

public final boolean get(Pointer ptr)
Description copied from class: StructLayout.AbstractBoolean
Gets the value for this field.

Specified by:
get in class StructLayout.AbstractBoolean
Returns:
a boolean.

set

public final void set(Pointer ptr,
                      boolean value)
Description copied from class: StructLayout.AbstractBoolean
Sets the field to a new value.

Specified by:
set in class StructLayout.AbstractBoolean
value - The new value.


Copyright © 2012. All Rights Reserved.