jnr.ffi
Interface Struct.Member

All Known Implementing Classes:
Struct.AbstractBoolean, Struct.AbstractMember, Struct.Address, Struct.AsciiString, Struct.AsciiStringRef, Struct.blkcnt_t, Struct.blksize_t, Struct.Boolean, Struct.caddr_t, Struct.clock_t, Struct.dev_t, Struct.Double, Struct.Enum, Struct.Enum16, Struct.Enum32, Struct.Enum64, Struct.Enum8, Struct.EnumField, Struct.EnumLong, Struct.Float, Struct.fsblkcnt_t, Struct.fsfilcnt_t, Struct.gid_t, Struct.id_t, Struct.in_addr_t, Struct.in_port_t, Struct.ino_t, Struct.ino64_t, Struct.int16_t, Struct.int32_t, Struct.int64_t, Struct.int8_t, Struct.IntegerAlias, Struct.intptr_t, Struct.key_t, Struct.mode_t, Struct.nlink_t, Struct.NumberField, Struct.off_t, Struct.Padding, Struct.pid_t, Struct.Pointer, Struct.rlim_t, Struct.sa_family_t, Struct.Signed16, Struct.Signed32, Struct.Signed64, Struct.Signed8, Struct.SignedLong, Struct.size_t, Struct.socklen_t, Struct.ssize_t, Struct.String, Struct.swblk_t, Struct.time_t, Struct.u_int16_t, Struct.u_int32_t, Struct.u_int64_t, Struct.u_int8_t, Struct.uid_t, Struct.uintptr_t, Struct.Unsigned16, Struct.Unsigned32, Struct.Unsigned64, Struct.Unsigned8, Struct.UnsignedLong, Struct.UTF8String, Struct.UTF8StringRef, Struct.UTFString, Struct.UTFStringRef, Struct.WBOOL
Enclosing class:
Struct

protected static interface Struct.Member

Interface all Struct members must implement.


Method Summary
 Pointer getMemory()
          Gets the memory object used to store this Member
 long offset()
          Gets the offset within the structure for this field.
 Struct struct()
          Gets the Struct this Member is a member of.
 

Method Detail

struct

Struct struct()
Gets the Struct this Member is a member of.

Returns:
a Struct.

getMemory

Pointer getMemory()
Gets the memory object used to store this Member

Returns:
a Pointer

offset

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



Copyright © 2012. All Rights Reserved.