@Namespace(value="onnx::Common") @NoOffset @Properties(inherit=onnx.class) public class Status extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Status() |
Status(int category,
int code) |
Status(int category,
int code,
BytePointer msg) |
Status(int category,
int code,
String msg) |
Status(long size)
Native array allocator.
|
Status(Pointer p)
Pointer cast constructor.
|
Status(Status other) |
Modifier and Type | Method and Description |
---|---|
int |
Category() |
int |
Code() |
boolean |
equals(Status other) |
BytePointer |
ErrorMessage() |
Status |
getPointer(long i) |
boolean |
IsOK() |
boolean |
notEquals(Status other) |
static Status |
OK() |
Status |
position(long position) |
void |
put(Status other) |
BytePointer |
ToString() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Status(Pointer p)
Pointer(Pointer)
.public Status(long size)
Pointer.position(long)
.public Status()
public Status(@Cast(value="onnx::Common::StatusCategory") int category, int code, @StdString BytePointer msg)
public Status(@Cast(value="onnx::Common::StatusCategory") int category, int code, @StdString String msg)
public Status getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") @NoException(value=true) public boolean IsOK()
@NoException(value=true) public int Code()
@Cast(value="onnx::Common::StatusCategory") @NoException(value=true) public int Category()
@StdString public BytePointer ErrorMessage()
@StdString public BytePointer ToString()
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef Status other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef Status other)
@Const @ByRef @NoException(value=true) public static Status OK()
Copyright © 2024. All rights reserved.