@NoOffset public static class tesseract.STRING extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
STRING() |
STRING(BytePointer string) |
STRING(BytePointer data,
int length) |
STRING(long size)
Native array allocator.
|
STRING(Pointer p)
Pointer cast constructor.
|
STRING(String string) |
STRING(String data,
int length) |
STRING(tesseract.STRING string) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic STRING(Pointer p)
Pointer.Pointer(Pointer).public STRING(long size)
Pointer.position(long).public STRING()
public STRING(@Const @ByRef tesseract.STRING string)
public STRING(@Cast(value="const char*") BytePointer string)
public STRING(String string)
public STRING(@Cast(value="const char*") BytePointer data, int length)
public STRING(String data, int length)
public tesseract.STRING position(long position)
@Cast(value="bool") public boolean DeSerialize(@Cast(value="bool") boolean swap, @Cast(value="FILE*") Pointer fp)
@Cast(value="bool") public boolean Serialize(tesseract.TFile fp)
@Cast(value="bool") public boolean DeSerialize(tesseract.TFile fp)
@Cast(value="bool") public static boolean SkipDeSerialize(tesseract.TFile fp)
public int length()
public int size()
@Cast(value="const char*") public BytePointer string()
@Cast(value="const char*") public BytePointer c_str()
@Cast(value="char*") public BytePointer strdup()
public void split(byte c,
tesseract.StringGenericVector splited)
public void truncate_at(int index)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef tesseract.STRING string)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef tesseract.STRING string)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Cast(value="const char*") BytePointer string)
@ByRef @Name(value="operator =") public tesseract.STRING put(@Cast(value="const char*") BytePointer string)
@ByRef @Name(value="operator =") public tesseract.STRING put(String string)
@ByRef @Name(value="operator =") public tesseract.STRING put(@Const @ByRef tesseract.STRING string)
@ByVal @Name(value="operator +") public tesseract.STRING add(@Const @ByRef tesseract.STRING string)
@ByVal @Name(value="operator +") public tesseract.STRING add(byte ch)
@ByRef @Name(value="operator +=") public tesseract.STRING addPut(@Cast(value="const char*") BytePointer string)
@ByRef @Name(value="operator +=") public tesseract.STRING addPut(String string)
@ByRef @Name(value="operator +=") public tesseract.STRING addPut(@Const @ByRef tesseract.STRING string)
@ByRef @Name(value="operator +=") public tesseract.STRING addPut(byte ch)
public void assign(@Cast(value="const char*") BytePointer cstr, int len)
public void assign(String cstr, int len)
public void add_str_int(@Cast(value="const char*") BytePointer str, int number)
public void add_str_int(String str, int number)
public void add_str_double(@Cast(value="const char*") BytePointer str, double number)
public void add_str_double(String str, double number)
public void ensure(int min_capacity)
Copyright © 2019. All rights reserved.