Class _VipsTargetClass
java.lang.Object
app.photofox.vipsffm.jextract._VipsTargetClass
- Direct Known Subclasses:
VipsTargetClass
struct _VipsTargetClass {
VipsConnectionClass parent_class;
gint64 (*write)(VipsTarget *, const void *, size_t);
void (*finish)(VipsTarget *);
gint64 (*read)(VipsTarget *, void *, size_t);
gint64 (*seek)(VipsTarget *, gint64, int);
int (*end)(VipsTarget *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classint (*end)(VipsTarget *)static classvoid (*finish)(VipsTarget *)static classgint64 (*read)(VipsTarget *, void *, size_t)static classgint64 (*seek)(VipsTarget *, gint64, int)static classgint64 (*write)(VipsTarget *, const void *, size_t) -
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)(VipsTarget *)static voidend(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*end)(VipsTarget *)static final AddressLayoutLayout for field:int (*end)(VipsTarget *)static final longOffset for field:int (*end)(VipsTarget *)static MemorySegmentfinish(MemorySegment struct) Getter for field:void (*finish)(VipsTarget *)static voidfinish(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*finish)(VipsTarget *)static final AddressLayoutLayout for field:void (*finish)(VipsTarget *)static final longOffset for field:void (*finish)(VipsTarget *)static final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_class(MemorySegment struct) Getter for field:VipsConnectionClass parent_classstatic voidparent_class(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsConnectionClass parent_classstatic final GroupLayoutLayout for field:VipsConnectionClass parent_classstatic final longOffset for field:VipsConnectionClass parent_classstatic MemorySegmentread(MemorySegment struct) Getter for field:gint64 (*read)(VipsTarget *, void *, size_t)static voidread(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*read)(VipsTarget *, void *, size_t)static final AddressLayoutLayout for field:gint64 (*read)(VipsTarget *, void *, size_t)static final longOffset for field:gint64 (*read)(VipsTarget *, void *, size_t)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)(VipsTarget *, gint64, int)static voidseek(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*seek)(VipsTarget *, gint64, int)static final AddressLayoutLayout for field:gint64 (*seek)(VipsTarget *, gint64, int)static final longOffset for field:gint64 (*seek)(VipsTarget *, gint64, int)static longsizeof()The size (in bytes) of this structstatic MemorySegmentwrite(MemorySegment struct) Getter for field:gint64 (*write)(VipsTarget *, const void *, size_t)static voidwrite(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*write)(VipsTarget *, const void *, size_t)static final AddressLayoutLayout for field:gint64 (*write)(VipsTarget *, const void *, size_t)static final longOffset for field:gint64 (*write)(VipsTarget *, const void *, size_t)
-
Method Details
-
layout
The layout of this struct -
parent_class$layout
Layout for field:VipsConnectionClass parent_class -
parent_class$offset
public static final long parent_class$offset()Offset for field:VipsConnectionClass parent_class -
parent_class
Getter for field:VipsConnectionClass parent_class -
parent_class
Setter for field:VipsConnectionClass parent_class -
write$layout
Layout for field:gint64 (*write)(VipsTarget *, const void *, size_t) -
write$offset
public static final long write$offset()Offset for field:gint64 (*write)(VipsTarget *, const void *, size_t) -
write
Getter for field:gint64 (*write)(VipsTarget *, const void *, size_t) -
write
Setter for field:gint64 (*write)(VipsTarget *, const void *, size_t) -
finish$layout
Layout for field:void (*finish)(VipsTarget *) -
finish$offset
public static final long finish$offset()Offset for field:void (*finish)(VipsTarget *) -
finish
Getter for field:void (*finish)(VipsTarget *) -
finish
Setter for field:void (*finish)(VipsTarget *) -
read$layout
Layout for field:gint64 (*read)(VipsTarget *, void *, size_t) -
read$offset
public static final long read$offset()Offset for field:gint64 (*read)(VipsTarget *, void *, size_t) -
read
Getter for field:gint64 (*read)(VipsTarget *, void *, size_t) -
read
Setter for field:gint64 (*read)(VipsTarget *, void *, size_t) -
seek$layout
Layout for field:gint64 (*seek)(VipsTarget *, gint64, int) -
seek$offset
public static final long seek$offset()Offset for field:gint64 (*seek)(VipsTarget *, gint64, int) -
seek
Getter for field:gint64 (*seek)(VipsTarget *, gint64, int) -
seek
Setter for field:gint64 (*seek)(VipsTarget *, gint64, int) -
end$layout
Layout for field:int (*end)(VipsTarget *) -
end$offset
public static final long end$offset()Offset for field:int (*end)(VipsTarget *) -
end
Getter for field:int (*end)(VipsTarget *) -
end
Setter for field:int (*end)(VipsTarget *) -
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()
-