Class ecs_alert_severity_filter_t
java.lang.Object
com.github.elebras1.flecs.ecs_alert_severity_filter_t
struct ecs_alert_severity_filter_t {
ecs_entity_t severity;
ecs_id_t with;
const char *var;
int32_t _var_index;
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic int_var_index(MemorySegment struct) Getter for field:int32_t _var_indexstatic void_var_index(MemorySegment struct, int fieldValue) Setter for field:int32_t _var_indexstatic final ValueLayout.OfIntLayout for field:int32_t _var_indexstatic final longOffset for field:int32_t _var_indexstatic 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 final GroupLayoutlayout()The layout of this structstatic 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 longseverity(MemorySegment struct) Getter for field:ecs_entity_t severitystatic voidseverity(MemorySegment struct, long fieldValue) Setter for field:ecs_entity_t severitystatic final ValueLayout.OfLongLayout for field:ecs_entity_t severitystatic final longOffset for field:ecs_entity_t severitystatic longsizeof()The size (in bytes) of this structstatic MemorySegmentvar_(MemorySegment struct) Getter for field:const char *varstatic voidvar_(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *varstatic final AddressLayoutLayout for field:const char *varstatic final longOffset for field:const char *varstatic longwith(MemorySegment struct) Getter for field:ecs_id_t withstatic voidwith(MemorySegment struct, long fieldValue) Setter for field:ecs_id_t withstatic final ValueLayout.OfLongLayout for field:ecs_id_t withstatic final longOffset for field:ecs_id_t with
-
Method Details
-
layout
The layout of this struct -
severity$layout
Layout for field:ecs_entity_t severity -
severity$offset
public static final long severity$offset()Offset for field:ecs_entity_t severity -
severity
Getter for field:ecs_entity_t severity -
severity
Setter for field:ecs_entity_t severity -
with$layout
Layout for field:ecs_id_t with -
with$offset
public static final long with$offset()Offset for field:ecs_id_t with -
with
Getter for field:ecs_id_t with -
with
Setter for field:ecs_id_t with -
var_$layout
Layout for field:const char *var -
var_$offset
public static final long var_$offset()Offset for field:const char *var -
var_
Getter for field:const char *var -
var_
Setter for field:const char *var -
_var_index$layout
Layout for field:int32_t _var_index -
_var_index$offset
public static final long _var_index$offset()Offset for field:int32_t _var_index -
_var_index
Getter for field:int32_t _var_index -
_var_index
Setter for field:int32_t _var_index -
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()
-