Package jnr.ffi

Class Struct.Member

    • 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 this Member
      (package private) abstract long offset()
      Gets the offset within the structure for this field.
      (package private) abstract Struct struct()
      Gets the Struct this Member is a member of.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Member

        protected Member()
    • Method Detail

      • struct

        abstract Struct struct()
        Gets the Struct this Member is a member of.
        Returns:
        a Struct.
      • getMemory

        abstract Pointer getMemory()
        Gets the memory object used to store this Member
        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.