jnr.ffi
Class StructLayout.Field
java.lang.Object
jnr.ffi.StructLayout.Field
- Direct Known Subclasses:
- StructLayout.AbstractField, StructLayout.NumberField
- Enclosing class:
- StructLayout
protected abstract class StructLayout.Field
- extends Object
Interface all Struct members must implement.
|
Method Summary |
StructLayout |
enclosing()
Gets the Struct this Member is a member of. |
long |
offset()
Gets the offset within the structure for this field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructLayout.Field
protected StructLayout.Field(int offset)
enclosing
public final StructLayout enclosing()
- Gets the Struct this Member is a member of.
- Returns:
- a Struct.
offset
public final long offset()
- Gets the offset within the structure for this field.
Copyright © 2012. All Rights Reserved.