protected abstract class StructLayout.AbstractBoolean extends StructLayout.AbstractField
Modifier | Constructor and Description |
---|---|
protected |
AbstractBoolean(NativeType type) |
protected |
AbstractBoolean(NativeType type,
StructLayout.Offset offset) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
get(Pointer ptr)
Gets the value for this field.
|
abstract void |
set(Pointer ptr,
boolean value)
Sets the field to a new value.
|
String |
toString(Pointer ptr)
Returns a string representation of this
Boolean . |
enclosing, offset
protected AbstractBoolean(NativeType type)
protected AbstractBoolean(NativeType type, StructLayout.Offset offset)
public abstract boolean get(Pointer ptr)
ptr
- The pointer to the field.public abstract void set(Pointer ptr, boolean value)
ptr
- The pointer to the field.value
- The new value.Copyright © 2017. All rights reserved.