@Namespace(value="Ort") @Properties(inherit=onnxruntime.class) public class KeyValuePairs extends KeyValuePairsImpl
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
KeyValuePairs()
\brief Wraps OrtApi::CreateKeyValuePairs
|
KeyValuePairs(long size)
Native array allocator.
|
KeyValuePairs(OrtKeyValuePairs p)
Take ownership of a pointer created by C API
|
KeyValuePairs(Pointer p)
Pointer cast constructor.
|
KeyValuePairs(StringStringMap kv_pairs)
\brief Wraps OrtApi::CreateKeyValuePairs and OrtApi::AddKeyValuePair
|
Modifier and Type | Method and Description |
---|---|
void |
Add(BytePointer key,
BytePointer value)
\brief Wraps OrtApi::AddKeyValuePair
|
void |
Add(String key,
String value) |
KeyValuePairsImpl |
GetConst() |
KeyValuePairs |
getPointer(long i) |
KeyValuePairs |
position(long position) |
void |
Remove(BytePointer key)
\brief Wraps OrtApi::RemoveKeyValuePair
|
void |
Remove(String key) |
GetKeyValuePairs, GetKeyValuePairs, GetKeyValuePairs, GetKeyValuePairs, GetKeyValuePairs, GetValue, GetValue
asOrtKeyValuePairs, put, release
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 KeyValuePairs(Pointer p)
Pointer(Pointer)
.public KeyValuePairs(long size)
Pointer.position(long)
.public KeyValuePairs(OrtKeyValuePairs p)
public KeyValuePairs()
public KeyValuePairs(@Const @ByRef StringStringMap kv_pairs)
public KeyValuePairs position(long position)
position
in class KeyValuePairsImpl
public KeyValuePairs getPointer(long i)
getPointer
in class KeyValuePairsImpl
public void Add(@Cast(value="const char*") BytePointer key, @Cast(value="const char*") BytePointer value)
public void Remove(@Cast(value="const char*") BytePointer key)
public void Remove(String key)
@ByVal @Cast(value="Ort::ConstKeyValuePairs*") public KeyValuePairsImpl GetConst()
Copyright © 2025. All rights reserved.