@NoOffset @Name(value="c10::optional<c10::string_view>") @Properties(inherit=torch.class) public class StringViewOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StringViewOptional() |
StringViewOptional(BytePointer value) |
StringViewOptional(Pointer p)
Pointer cast constructor.
|
StringViewOptional(String value) |
Modifier and Type | Method and Description |
---|---|
BytePointer |
get() |
boolean |
has_value() |
StringViewOptional |
put(BytePointer value) |
StringViewOptional |
put(String value) |
StringViewOptional |
put(StringViewOptional x) |
void |
reset() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StringViewOptional(Pointer p)
Pointer(Pointer)
.public StringViewOptional(BytePointer value)
public StringViewOptional(String value)
public StringViewOptional()
@Name(value="operator =") @ByRef public StringViewOptional put(@ByRef StringViewOptional x)
public boolean has_value()
public void reset()
@Name(value="value") @StringView public BytePointer get()
@ValueSetter public StringViewOptional put(@StringView BytePointer value)
@ValueSetter public StringViewOptional put(@StringView String value)
Copyright © 2024. All rights reserved.