jnr.ffi
Interface StructLayout.Field

All Known Implementing Classes:
StructLayout.AbstractBoolean, StructLayout.AbstractField, StructLayout.Boolean, StructLayout.Double, StructLayout.Float, StructLayout.NumberField, StructLayout.Padding, StructLayout.Pointer, StructLayout.Signed16, StructLayout.Signed32, StructLayout.Signed64, StructLayout.Signed8, StructLayout.SignedLong, StructLayout.Unsigned16, StructLayout.Unsigned32, StructLayout.Unsigned64, StructLayout.Unsigned8, StructLayout.UnsignedLong, StructLayout.WBOOL
Enclosing class:
StructLayout

protected static interface StructLayout.Field

Interface all Struct members must implement.


Method Summary
 StructLayout enclosing()
          Gets the StructLayout this Field belongs to.
 long offset()
          Gets the offset within the structure for this field.
 

Method Detail

enclosing

StructLayout enclosing()
Gets the StructLayout this Field belongs to.

Returns:
a Struct.

offset

long offset()
Gets the offset within the structure for this field.



Copyright © 2012. All Rights Reserved.