@Namespace(value="cv::dnn") @NoOffset @Properties(inherit=opencv_dnn.class) public class DictValue extends Pointer
/** \brief This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. \todo Maybe int64 is useless because double type exactly stores at least 2^52 integers.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DictValue() |
DictValue(boolean i)
Constructs integer scalar
|
DictValue(BytePointer s)
Constructs string scalar
|
DictValue(DictValue r) |
DictValue(double p)
Constructs floating point scalar
|
DictValue(int i)
Constructs integer scalar
|
DictValue(long i)
Constructs integer scalar
|
DictValue(Pointer p)
Pointer cast constructor.
|
DictValue(String s) |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
int |
getIntValue(int idx) |
double |
getRealValue() |
double |
getRealValue(int idx) |
BytePointer |
getStringValue() |
BytePointer |
getStringValue(int idx) |
boolean |
isInt() |
boolean |
isReal() |
boolean |
isString() |
DictValue |
put(DictValue r) |
int |
size() |
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 DictValue(Pointer p)
Pointer(Pointer)
.public DictValue()
public DictValue(int i)
public DictValue(double p)
public DictValue(@opencv_core.Str BytePointer s)
public DictValue(@opencv_core.Str String s)
public int size()
public int getIntValue(int idx)
public int getIntValue()
public double getRealValue(int idx)
public double getRealValue()
@opencv_core.Str public BytePointer getStringValue(int idx)
@opencv_core.Str public BytePointer getStringValue()
Copyright © 2024. All rights reserved.