Package app.photofox.vipsffm.generated
Class _VipsArgumentClass
java.lang.Object
app.photofox.vipsffm.generated._VipsArgumentClass
- Direct Known Subclasses:
VipsArgumentClass
struct _VipsArgumentClass {
VipsArgument parent;
VipsObjectClass *object_class;
VipsArgumentFlags flags;
int priority;
guint offset;
}
-
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 intflags(MemorySegment struct) Getter for field:VipsArgumentFlags flagsstatic voidflags(MemorySegment struct, int fieldValue) Setter for field:VipsArgumentFlags flagsstatic final ValueLayout.OfIntLayout for field:VipsArgumentFlags flagsstatic final longOffset for field:VipsArgumentFlags flagsstatic final GroupLayoutlayout()The layout of this structstatic MemorySegmentobject_class(MemorySegment struct) Getter for field:VipsObjectClass *object_classstatic voidobject_class(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsObjectClass *object_classstatic final AddressLayoutLayout for field:VipsObjectClass *object_classstatic final longOffset for field:VipsObjectClass *object_classstatic intoffset(MemorySegment struct) Getter for field:guint offsetstatic voidoffset(MemorySegment struct, int fieldValue) Setter for field:guint offsetstatic final ValueLayout.OfIntLayout for field:guint offsetstatic final longOffset for field:guint offsetstatic MemorySegmentparent(MemorySegment struct) Getter for field:VipsArgument parentstatic voidparent(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsArgument parentstatic final GroupLayoutLayout for field:VipsArgument parentstatic final longOffset for field:VipsArgument parentstatic intpriority(MemorySegment struct) Getter for field:int prioritystatic voidpriority(MemorySegment struct, int fieldValue) Setter for field:int prioritystatic final ValueLayout.OfIntLayout for field:int prioritystatic final longOffset for field:int prioritystatic 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 longsizeof()The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
parent$layout
Layout for field:VipsArgument parent -
parent$offset
public static final long parent$offset()Offset for field:VipsArgument parent -
parent
Getter for field:VipsArgument parent -
parent
Setter for field:VipsArgument parent -
object_class$layout
Layout for field:VipsObjectClass *object_class -
object_class$offset
public static final long object_class$offset()Offset for field:VipsObjectClass *object_class -
object_class
Getter for field:VipsObjectClass *object_class -
object_class
Setter for field:VipsObjectClass *object_class -
flags$layout
Layout for field:VipsArgumentFlags flags -
flags$offset
public static final long flags$offset()Offset for field:VipsArgumentFlags flags -
flags
Getter for field:VipsArgumentFlags flags -
flags
Setter for field:VipsArgumentFlags flags -
priority$layout
Layout for field:int priority -
priority$offset
public static final long priority$offset()Offset for field:int priority -
priority
Getter for field:int priority -
priority
Setter for field:int priority -
offset$layout
Layout for field:guint offset -
offset$offset
public static final long offset$offset()Offset for field:guint offset -
offset
Getter for field:guint offset -
offset
Setter for field:guint offset -
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()
-