java.lang.Object
app.photofox.vipsffm.jextract._VipsTargetCustomClass
- Direct Known Subclasses:
VipsTargetCustomClass
struct _VipsTargetCustomClass {
VipsTargetClass parent_class;
gint64 (*write)(VipsTargetCustom *, const void *, gint64);
void (*finish)(VipsTargetCustom *);
gint64 (*read)(VipsTargetCustom *, void *, gint64);
gint64 (*seek)(VipsTargetCustom *, gint64, int);
int (*end)(VipsTargetCustom *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classint (*end)(VipsTargetCustom *)static classvoid (*finish)(VipsTargetCustom *)static classgint64 (*read)(VipsTargetCustom *, void *, gint64)static classgint64 (*seek)(VipsTargetCustom *, gint64, int)static classgint64 (*write)(VipsTargetCustom *, const void *, gint64) -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentend(MemorySegment struct) Getter for field:int (*end)(VipsTargetCustom *)static voidend(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*end)(VipsTargetCustom *)static final AddressLayoutLayout for field:int (*end)(VipsTargetCustom *)static final longOffset for field:int (*end)(VipsTargetCustom *)static MemorySegmentfinish(MemorySegment struct) Getter for field:void (*finish)(VipsTargetCustom *)static voidfinish(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*finish)(VipsTargetCustom *)static final AddressLayoutLayout for field:void (*finish)(VipsTargetCustom *)static final longOffset for field:void (*finish)(VipsTargetCustom *)static final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_class(MemorySegment struct) Getter for field:VipsTargetClass parent_classstatic voidparent_class(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsTargetClass parent_classstatic final GroupLayoutLayout for field:VipsTargetClass parent_classstatic final longOffset for field:VipsTargetClass parent_classstatic MemorySegmentread(MemorySegment struct) Getter for field:gint64 (*read)(VipsTargetCustom *, void *, gint64)static voidread(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*read)(VipsTargetCustom *, void *, gint64)static final AddressLayoutLayout for field:gint64 (*read)(VipsTargetCustom *, void *, gint64)static final longOffset for field:gint64 (*read)(VipsTargetCustom *, void *, gint64)static MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentseek(MemorySegment struct) Getter for field:gint64 (*seek)(VipsTargetCustom *, gint64, int)static voidseek(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*seek)(VipsTargetCustom *, gint64, int)static final AddressLayoutLayout for field:gint64 (*seek)(VipsTargetCustom *, gint64, int)static final longOffset for field:gint64 (*seek)(VipsTargetCustom *, gint64, int)static longsizeof()The size (in bytes) of this structstatic MemorySegmentwrite(MemorySegment struct) Getter for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64)static voidwrite(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64)static final AddressLayoutLayout for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64)static final longOffset for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64)
-
Method Details
-
layout
The layout of this struct -
parent_class$layout
Layout for field:VipsTargetClass parent_class -
parent_class$offset
public static final long parent_class$offset()Offset for field:VipsTargetClass parent_class -
parent_class
Getter for field:VipsTargetClass parent_class -
parent_class
Setter for field:VipsTargetClass parent_class -
write$layout
Layout for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64) -
write$offset
public static final long write$offset()Offset for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64) -
write
Getter for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64) -
write
Setter for field:gint64 (*write)(VipsTargetCustom *, const void *, gint64) -
finish$layout
Layout for field:void (*finish)(VipsTargetCustom *) -
finish$offset
public static final long finish$offset()Offset for field:void (*finish)(VipsTargetCustom *) -
finish
Getter for field:void (*finish)(VipsTargetCustom *) -
finish
Setter for field:void (*finish)(VipsTargetCustom *) -
read$layout
Layout for field:gint64 (*read)(VipsTargetCustom *, void *, gint64) -
read$offset
public static final long read$offset()Offset for field:gint64 (*read)(VipsTargetCustom *, void *, gint64) -
read
Getter for field:gint64 (*read)(VipsTargetCustom *, void *, gint64) -
read
Setter for field:gint64 (*read)(VipsTargetCustom *, void *, gint64) -
seek$layout
Layout for field:gint64 (*seek)(VipsTargetCustom *, gint64, int) -
seek$offset
public static final long seek$offset()Offset for field:gint64 (*seek)(VipsTargetCustom *, gint64, int) -
seek
Getter for field:gint64 (*seek)(VipsTargetCustom *, gint64, int) -
seek
Setter for field:gint64 (*seek)(VipsTargetCustom *, gint64, int) -
end$layout
Layout for field:int (*end)(VipsTargetCustom *) -
end$offset
public static final long end$offset()Offset for field:int (*end)(VipsTargetCustom *) -
end
Getter for field:int (*end)(VipsTargetCustom *) -
end
Setter for field:int (*end)(VipsTargetCustom *) -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-