com.kenai.jaffl.struct
Interface Struct.Member

All Known Implementing Classes:
Struct.AbstractBoolean, Struct.AbstractMember, Struct.Address, Struct.AsciiString, Struct.AsciiStringRef, Struct.Boolean, Struct.Double, Struct.Enum, Struct.Enum16, Struct.Enum32, Struct.Enum64, Struct.Enum8, Struct.EnumField, Struct.EnumLong, Struct.Float, Struct.NumberField, Struct.Padding, Struct.Pointer, Struct.Signed16, Struct.Signed32, Struct.Signed64, Struct.Signed8, Struct.SignedLong, Struct.String, 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
 MemoryIO getMemoryIO()
          Gets the MemoryIO used to read/write 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.

getMemoryIO

MemoryIO getMemoryIO()
Gets the MemoryIO used to read/write this Member.

Returns:
a MemoryIO.

offset

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



Copyright © 2011. All Rights Reserved.