Package org.bytedeco.leptonica
Class SARRAY
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.SARRAY
- All Implemented Interfaces:
AutoCloseable
String array: an array of C strings
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray()
array
(int i) string arrayarray
(int i, BytePointer setter) array
(PointerPointer setter) getPointer
(long i) int
n()
number of strings allocatedn
(int setter) int
nalloc()
size of allocated ptr arraynalloc
(int setter) position
(long position) int
refcount()
reference count (1 if no clones)refcount
(int setter) Methods inherited from class org.bytedeco.javacpp.Pointer
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
-
Constructor Details
-
SARRAY
public SARRAY()Default native constructor. -
SARRAY
public SARRAY(long size) Native array allocator. Access withPointer.position(long)
. -
SARRAY
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
nalloc
size of allocated ptr array -
nalloc
-
n
number of strings allocated -
n
-
refcount
reference count (1 if no clones) -
refcount
-
array
string array -
array
-
array
-
array
-