Class _VipsObject

java.lang.Object
app.photofox.vipsffm.jextract._VipsObject
Direct Known Subclasses:
VipsObject

public class _VipsObject extends Object
struct _VipsObject {
    GObject parent_instance;
    gboolean constructed;
    gboolean static_object;
    VipsArgumentTable *argument_table;
    char *nickname;
    char *description;
    gboolean preclose;
    gboolean close;
    gboolean postclose;
    size_t local_memory;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • parent_instance$layout

      public static final GroupLayout parent_instance$layout()
      Layout for field:
      GObject parent_instance
      
    • parent_instance$offset

      public static final long parent_instance$offset()
      Offset for field:
      GObject parent_instance
      
    • parent_instance

      public static MemorySegment parent_instance(MemorySegment struct)
      Getter for field:
      GObject parent_instance
      
    • parent_instance

      public static void parent_instance(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GObject parent_instance
      
    • constructed$layout

      public static final ValueLayout.OfInt constructed$layout()
      Layout for field:
      gboolean constructed
      
    • constructed$offset

      public static final long constructed$offset()
      Offset for field:
      gboolean constructed
      
    • constructed

      public static int constructed(MemorySegment struct)
      Getter for field:
      gboolean constructed
      
    • constructed

      public static void constructed(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean constructed
      
    • static_object$layout

      public static final ValueLayout.OfInt static_object$layout()
      Layout for field:
      gboolean static_object
      
    • static_object$offset

      public static final long static_object$offset()
      Offset for field:
      gboolean static_object
      
    • static_object

      public static int static_object(MemorySegment struct)
      Getter for field:
      gboolean static_object
      
    • static_object

      public static void static_object(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean static_object
      
    • argument_table$layout

      public static final AddressLayout argument_table$layout()
      Layout for field:
      VipsArgumentTable *argument_table
      
    • argument_table$offset

      public static final long argument_table$offset()
      Offset for field:
      VipsArgumentTable *argument_table
      
    • argument_table

      public static MemorySegment argument_table(MemorySegment struct)
      Getter for field:
      VipsArgumentTable *argument_table
      
    • argument_table

      public static void argument_table(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      VipsArgumentTable *argument_table
      
    • nickname$layout

      public static final AddressLayout nickname$layout()
      Layout for field:
      char *nickname
      
    • nickname$offset

      public static final long nickname$offset()
      Offset for field:
      char *nickname
      
    • nickname

      public static MemorySegment nickname(MemorySegment struct)
      Getter for field:
      char *nickname
      
    • nickname

      public static void nickname(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      char *nickname
      
    • description$layout

      public static final AddressLayout description$layout()
      Layout for field:
      char *description
      
    • description$offset

      public static final long description$offset()
      Offset for field:
      char *description
      
    • description

      public static MemorySegment description(MemorySegment struct)
      Getter for field:
      char *description
      
    • description

      public static void description(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      char *description
      
    • preclose$layout

      public static final ValueLayout.OfInt preclose$layout()
      Layout for field:
      gboolean preclose
      
    • preclose$offset

      public static final long preclose$offset()
      Offset for field:
      gboolean preclose
      
    • preclose

      public static int preclose(MemorySegment struct)
      Getter for field:
      gboolean preclose
      
    • preclose

      public static void preclose(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean preclose
      
    • close$layout

      public static final ValueLayout.OfInt close$layout()
      Layout for field:
      gboolean close
      
    • close$offset

      public static final long close$offset()
      Offset for field:
      gboolean close
      
    • close

      public static int close(MemorySegment struct)
      Getter for field:
      gboolean close
      
    • close

      public static void close(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean close
      
    • postclose$layout

      public static final ValueLayout.OfInt postclose$layout()
      Layout for field:
      gboolean postclose
      
    • postclose$offset

      public static final long postclose$offset()
      Offset for field:
      gboolean postclose
      
    • postclose

      public static int postclose(MemorySegment struct)
      Getter for field:
      gboolean postclose
      
    • postclose

      public static void postclose(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean postclose
      
    • local_memory$layout

      public static final ValueLayout.OfLong local_memory$layout()
      Layout for field:
      size_t local_memory
      
    • local_memory$offset

      public static final long local_memory$offset()
      Offset for field:
      size_t local_memory
      
    • local_memory

      public static long local_memory(MemorySegment struct)
      Getter for field:
      size_t local_memory
      
    • local_memory

      public static void local_memory(MemorySegment struct, long fieldValue)
      Setter for field:
      size_t local_memory
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()