@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class ObjectRef extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static boolean |
_type_is_nullable |
| Constructor and Description |
|---|
ObjectRef()
\brief default constructor
|
ObjectRef(long size)
Native array allocator.
|
ObjectRef(ObjectPtr data)
\brief Constructor from existing object ptr
|
ObjectRef(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
_type_is_nullable()
\brief type indicate the container type.
|
TVMObject |
access() |
boolean |
defined() |
boolean |
equals(ObjectRef other)
\brief Comparator
|
TVMObject |
get() |
ObjectRef |
getPointer(long i) |
boolean |
lessThan(ObjectRef other)
\brief Comparator
|
boolean |
notEquals(ObjectRef other)
\brief Comparator
|
ObjectRef |
position(long position) |
boolean |
same_as(ObjectRef other)
\brief Comparator
|
boolean |
unique() |
int |
use_count() |
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, zeropublic ObjectRef(Pointer p)
Pointer(Pointer).public ObjectRef(long size)
Pointer.position(long).public ObjectRef()
public ObjectRef getPointer(long i)
getPointer in class Pointer@Cast(value="bool") public boolean same_as(@Const @ByRef ObjectRef other)
other - Another object ref.@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef ObjectRef other)
other - Another object ref.@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef ObjectRef other)
other - Another object ref.@Cast(value="bool") @Name(value="operator <") public boolean lessThan(@Const @ByRef ObjectRef other)
other - Another object ref by address.@Cast(value="bool") public boolean defined()
@Const @Name(value="operator ->") public TVMObject access()
public int use_count()
@MemberGetter @Cast(value="const bool") public static boolean _type_is_nullable()
Copyright © 2024. All rights reserved.