@Name(value="c10::ivalue::EnumHolder") @NoOffset @Properties(inherit=torch.class) public class EnumHolder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EnumHolder(EnumType type,
BytePointer name,
IValue value) |
EnumHolder(EnumType type,
String name,
IValue value) |
EnumHolder(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
name() |
BytePointer |
qualifiedClassName() |
EnumType |
type() |
IValue |
value() |
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 EnumHolder(Pointer p)
Pointer(Pointer)
.public EnumHolder(@SharedPtr EnumType type, @StdString BytePointer name, @ByVal IValue value)
public EnumHolder(@SharedPtr EnumType type, @StdString String name, @ByVal IValue value)
@StdString public BytePointer qualifiedClassName()
@StdString public BytePointer name()
@SharedPtr public EnumType type()
Copyright © 2024. All rights reserved.