Class _VipsConnection

java.lang.Object
app.photofox.vipsffm.jextract._VipsConnection
Direct Known Subclasses:
VipsConnection

public class _VipsConnection extends Object
struct _VipsConnection {
    VipsObject parent_object;
    int descriptor;
    int tracked_descriptor;
    int close_descriptor;
    char *filename;
}
  • Method Details

    • layout

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

      public static final GroupLayout parent_object$layout()
      Layout for field:
      VipsObject parent_object
      
    • parent_object$offset

      public static final long parent_object$offset()
      Offset for field:
      VipsObject parent_object
      
    • parent_object

      public static MemorySegment parent_object(MemorySegment struct)
      Getter for field:
      VipsObject parent_object
      
    • parent_object

      public static void parent_object(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      VipsObject parent_object
      
    • descriptor$layout

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

      public static final long descriptor$offset()
      Offset for field:
      int descriptor
      
    • descriptor

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

      public static void descriptor(MemorySegment struct, int fieldValue)
      Setter for field:
      int descriptor
      
    • tracked_descriptor$layout

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

      public static final long tracked_descriptor$offset()
      Offset for field:
      int tracked_descriptor
      
    • tracked_descriptor

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

      public static void tracked_descriptor(MemorySegment struct, int fieldValue)
      Setter for field:
      int tracked_descriptor
      
    • close_descriptor$layout

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

      public static final long close_descriptor$offset()
      Offset for field:
      int close_descriptor
      
    • close_descriptor

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

      public static void close_descriptor(MemorySegment struct, int fieldValue)
      Setter for field:
      int close_descriptor
      
    • filename$layout

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

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

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

      public static void filename(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      char *filename
      
    • 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()