@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class StringObj 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 |
|---|
StringObj()
Default native constructor.
|
StringObj(long size)
Native array allocator.
|
StringObj(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() |
BytePointer |
data()
\brief The pointer to string data.
|
StringObj |
data(BytePointer setter) |
StringObj |
getPointer(long i) |
StringObj |
position(long position) |
static int |
RuntimeTypeIndex() |
long |
size()
\brief The length of the string object.
|
StringObj |
size(long 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 StringObj()
public StringObj(long size)
Pointer.position(long).public StringObj(Pointer p)
Pointer(Pointer).public StringObj getPointer(long i)
getPointer in class TVMObject@Cast(value="const char*") public BytePointer data()
public StringObj data(BytePointer setter)
public StringObj size(long 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.