@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class ADTObj extends TVMObject
TVMObject.FDeleterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
_type_child_slots |
static boolean |
_type_final |
static int |
_type_index |
_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs| Constructor and Description |
|---|
ADTObj()
Default native constructor.
|
ADTObj(long size)
Native array allocator.
|
ADTObj(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
_GetOrAllocRuntimeTypeIndex() |
static int |
_type_child_slots() |
static boolean |
_type_final() |
static int |
_type_index() |
static BytePointer |
_type_key() |
ADTObjBase |
asADTObjBase() |
static ADTObjBase |
asADTObjBase(ADTObj pointer) |
ADTObj |
getPointer(long i) |
ADTObj |
position(long position) |
static int |
RuntimeTypeIndex() |
int |
size()
\brief Number of fields in the ADT object.
|
ADTObj |
size(int setter) |
int |
tag()
\brief The tag representing the constructor used.
|
ADTObj |
tag(int setter) |
_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs, GetTypeKey, GetTypeKeyHash, put, type_index, TypeIndex2Key, TypeIndex2KeyHash, TypeKey2Index, TypeKey2Indexaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic static final int _type_index
public static final boolean _type_final
public static final int _type_child_slots
public ADTObj()
public ADTObj(long size)
Pointer.position(long).public ADTObj(Pointer p)
Pointer(Pointer).public ADTObj getPointer(long i)
getPointer in class TVMObjectpublic ADTObjBase asADTObjBase()
@Namespace @Name(value="static_cast<tvm::runtime::InplaceArrayBase<tvm::runtime::ADTObj,tvm::runtime::ObjectRef>*>") public static ADTObjBase asADTObjBase(ADTObj pointer)
public int tag()
public ADTObj tag(int setter)
public ADTObj size(int setter)
@MemberGetter @Cast(value="const uint32_t") public static int _type_index()
@MemberGetter @Cast(value="const char*") public static BytePointer _type_key()
@MemberGetter @Cast(value="const bool") public static boolean _type_final()
@MemberGetter public static int _type_child_slots()
Copyright © 2021. All rights reserved.