Package jnr.ffi
Class Struct.Member
- java.lang.Object
-
- jnr.ffi.Struct.Member
-
- Direct Known Subclasses:
Struct.AbstractMember
,Struct.NumberField
- Enclosing class:
- Struct
protected abstract class Struct.Member extends java.lang.Object
Interface all Struct members must implement.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Member()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract Pointer
getMemory()
Gets the memory object used to store thisMember
(package private) abstract long
offset()
Gets the offset within the structure for this field.(package private) abstract Struct
struct()
Gets theStruct
thisMember
is a member of.
-
-
-
Method Detail
-
struct
abstract Struct struct()
Gets theStruct
thisMember
is a member of.- Returns:
- a
Struct
.
-
getMemory
abstract Pointer getMemory()
Gets the memory object used to store thisMember
- Returns:
- a
Pointer
-
offset
abstract long offset()
Gets the offset within the structure for this field.- Returns:
- the offset within the structure for this field.
-
-