@NoOffset @Name(value="c10::optional<c10::TypePtr>") @Properties(inherit=torch.class) public class TypePtrOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TypePtrOptional() |
TypePtrOptional(Pointer p)
Pointer cast constructor.
|
TypePtrOptional(Type.TypePtr value) |
Modifier and Type | Method and Description |
---|---|
Type.TypePtr |
get() |
boolean |
has_value() |
TypePtrOptional |
put(Type.TypePtr value) |
TypePtrOptional |
put(TypePtrOptional 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 TypePtrOptional(Pointer p)
Pointer(Pointer)
.public TypePtrOptional(Type.TypePtr value)
public TypePtrOptional()
@Name(value="operator =") @ByRef public TypePtrOptional put(@ByRef TypePtrOptional x)
public boolean has_value()
public void reset()
@Name(value="value") @ByRef public Type.TypePtr get()
@ValueSetter public TypePtrOptional put(@ByRef Type.TypePtr value)
Copyright © 2024. All rights reserved.