Uses of Class
org.bytedeco.javacpp.Pointer
-
Packages that use Pointer Package Description org.bytedeco.javacpp Contains the main set of classes for JavaCPP at runtime.org.bytedeco.javacpp.indexer Contains classes for multidimensional access of arrays and buffers. -
-
Uses of Pointer in org.bytedeco.javacpp
Classes in org.bytedeco.javacpp with type parameters of type Pointer Modifier and Type Class Description classPointerPointer<P extends Pointer>The peer class to native pointers and arrays ofvoid*.Subclasses of Pointer in org.bytedeco.javacpp Modifier and Type Class Description classBooleanPointerThe peer class to native pointers and arrays ofjboolean.classBoolPointerThe peer class to native pointers and arrays ofbool.classBytePointerThe peer class to native pointers and arrays ofsigned char, including strings.classCharPointerThe peer class to native pointers and arrays ofshortfor UTF-16.classCLongPointerThe peer class to native pointers and arrays oflong.classDoublePointerThe peer class to native pointers and arrays ofdouble.classFloatPointerThe peer class to native pointers and arrays offloat.classFunctionPointerAll peer classes to function pointers must derive from FunctionPointer.classIntPointerThe peer class to native pointers and arrays ofint, also used for UTF-32.classLongPointerThe peer class to native pointers and arrays oflong long.classPointerPointer<P extends Pointer>The peer class to native pointers and arrays ofvoid*.classShortPointerThe peer class to native pointers and arrays ofshort.classSizeTPointerThe peer class to native pointers and arrays ofsize_t.Fields in org.bytedeco.javacpp declared as Pointer Modifier and Type Field Description (package private) PointerPointer.CustomDeallocator. pointer(package private) PointerPointer.ProxyDeallocator. pointerprivate P[]PointerPointer. pointerArrayThis is just to keep references to Pointer objects and prevent premature deallocation.Fields in org.bytedeco.javacpp with type parameters of type Pointer Modifier and Type Field Description (package private) static java.util.WeakHashMap<java.lang.Class<? extends Pointer>,java.util.HashMap<java.lang.String,java.lang.Integer>>Loader. memberOffsetsContainsoffsetof()andsizeof()values of native types ofstruct,class, andunion.(package private) java.util.Deque<Pointer>PointerScope. pointerStackThe stack keeping references to attachedPointerobjects.private static java.lang.ref.ReferenceQueue<Pointer>Pointer. referenceQueueTheReferenceQueueused byPointer.DeallocatorReference.Methods in org.bytedeco.javacpp with type parameters of type Pointer Modifier and Type Method Description <P extends Pointer>
PPointer. capacity(long capacity)Sets the capacity and returns this.protected <P extends Pointer>
PPointer. deallocator(Pointer.Deallocator deallocator)Sets the deallocator and returns this.<P extends Pointer>
PPointer. fill(int b)Calls in effectmemset(address + position, b, length), wherelength = sizeof() * (limit - position).<P extends Pointer>
PPointer. getPointer()ReturnsgetPointer(0).<P extends Pointer>
PPointer. getPointer(long i)ReturnsgetPointer(getClass(), i).<P extends Pointer>
PPointer. getPointer(java.lang.Class<P> type)ReturnsgetPointer(type, 0).<P extends Pointer>
PPointer. getPointer(java.lang.Class<P> type, long i)<P extends Pointer>
PPointer. limit(long limit)Sets the limit and returns this.protected <P extends Pointer>
PPointer. offsetAddress(long i)<P extends Pointer>
PPointer. position(long position)Sets the position and returns this.<P extends Pointer>
PPointer. put(Pointer p)Calls in effectmemcpy(this.address + this.position, p.address + p.position, length), wherelength = sizeof(p) * (p.limit - p.position).<P extends Pointer>
PPointer. retainReference()CallsPointer.ReferenceCounter.retain(), incrementing the reference count by 1.protected static <P extends Pointer>
PPointer. withDeallocator(P p)A utility method to register easily aPointer.CustomDeallocatorwith a Pointer.<P extends Pointer>
PPointer. zero()Returnsfill(0).Methods in org.bytedeco.javacpp that return Pointer Modifier and Type Method Description static PointerLoader. addressof(java.lang.String symbol)ReturnsLoader.Helper.addressof(String).static PointerLoader.Helper. addressof(java.lang.String symbol)Returns the address found under the given name in the "dynamic symbol tables" (Linux, Mac OS X, etc) or the "export tables" (Windows) of all libraries loaded, or null if not found.static PointerPointer. calloc(long n, long size)PointerPointerPointer. get()PointerPointerPointer. get(long i)static PointerLoader. getJavaVM()ReturnsLoader.Helper.getJavaVM().static PointerLoader.Helper. getJavaVM()Returns the JavaVM JNI object, as required by some APIs for initialization.PointerBytePointer. getPointerValue()ReturnsgetPointerValue(0).PointerBytePointer. getPointerValue(long i)Returns thePointervalue at the i-thbytein the native array.static PointerPointer. malloc(long size)static PointerPointer. memchr(Pointer p, int ch, long size)static PointerPointer. memcpy(Pointer dst, Pointer src, long size)static PointerPointer. memmove(Pointer dst, Pointer src, long size)static PointerPointer. memset(Pointer dst, int ch, long size)static PointerLoader.Helper. newGlobalRef(java.lang.Object object)Returns a JNI global reference stored in a Pointer for the given Object.static PointerLoader. newGlobalRef(java.lang.Object object)ReturnsLoader.Helper.newGlobalRef(Object).static PointerPointer. realloc(Pointer p, long size)Methods in org.bytedeco.javacpp that return types with arguments of type Pointer Modifier and Type Method Description java.lang.Class<? extends Pointer>[]PointerScope. forClasses()Methods in org.bytedeco.javacpp with parameters of type Pointer Modifier and Type Method Description static java.lang.ObjectLoader. accessGlobalRef(Pointer globalRef)static java.lang.ObjectLoader.Helper. accessGlobalRef(Pointer globalRef)Returns an Object from the JNI global reference stored in the Pointer.PointerScopePointerScope. attach(Pointer p)Pushes the Pointer onto thePointerScope.pointerStackof this Scope and callsretainReference().static voidLoader. deleteGlobalRef(Pointer globalRef)static voidLoader.Helper. deleteGlobalRef(Pointer globalRef)Deletes the JNI global reference stored in the Pointer.PointerScopePointerScope. detach(Pointer p)Removes the Pointer from thePointerScope.pointerStackof this Scope and callsreleaseReference().static voidPointer. free(Pointer p)static booleanPointer. isNull(Pointer p)Returnsp == null || p.address == 0.static PointerPointer. memchr(Pointer p, int ch, long size)static intPointer. memcmp(Pointer p1, Pointer p2, long size)static PointerPointer. memcpy(Pointer dst, Pointer src, long size)static PointerPointer. memmove(Pointer dst, Pointer src, long size)static PointerPointer. memset(Pointer dst, int ch, long size)<P extends Pointer>
PPointer. put(Pointer p)Calls in effectmemcpy(this.address + this.position, p.address + p.position, length), wherelength = sizeof(p) * (p.limit - p.position).PointerPointer<P>PointerPointer. put(long i, Pointer p)Copies the Pointer value to the i-th element of a native array.PointerPointer<P>PointerPointer. put(Pointer p)PointerPointer<P>PointerPointer. put(P... array)Writes the Pointer values into the nativevoid*array.BytePointerBytePointer. putPointerValue(long i, Pointer p)Sets thePointervalue at the i-thbytein the native array.BytePointerBytePointer. putPointerValue(Pointer p)ReturnsputPointerValue(0, s).static PointerPointer. realloc(Pointer p, long size)Method parameters in org.bytedeco.javacpp with type arguments of type Pointer Modifier and Type Method Description static intLoader. offsetof(java.lang.Class<? extends Pointer> type, java.lang.String member)Getsoffsetof()values fromLoader.memberOffsetsfilled by native libraries.static intPointer. offsetof(java.lang.Class<? extends Pointer> type, java.lang.String member)ReturnsLoader.offsetof(type, member).(package private) static voidLoader. putMemberOffset(java.lang.Class<? extends Pointer> type, java.lang.String member, int offset)static intLoader. sizeof(java.lang.Class<? extends Pointer> type)Getssizeof()values fromLoader.memberOffsetsfilled by native libraries.static intPointer. sizeof(java.lang.Class<? extends Pointer> type)ReturnsLoader.sizeof(type).Constructors in org.bytedeco.javacpp with parameters of type Pointer Constructor Description BooleanPointer(Pointer p)BoolPointer(Pointer p)BytePointer(Pointer p)CharPointer(Pointer p)CLongPointer(Pointer p)CustomDeallocator(Pointer p)DeallocatorReference(Pointer p, Pointer.Deallocator deallocator)DoublePointer(Pointer p)FloatPointer(Pointer p)FunctionPointer(Pointer p)IntPointer(Pointer p)LongPointer(Pointer p)NativeDeallocator(Pointer p, long ownerAddress, long deallocatorAddress)Pointer(Pointer p)Copies the address, position, limit, and capacity of another Pointer.PointerPointer(Pointer p)PointerPointer(P... array)Allocates enough memory for the array and copies it.ProxyDeallocator(Pointer p, java.nio.Buffer b)ProxyDeallocator(Pointer p, Pointer p2)ShortPointer(Pointer p)SizeTPointer(Pointer p) -
Uses of Pointer in org.bytedeco.javacpp.indexer
Methods in org.bytedeco.javacpp.indexer that return Pointer Modifier and Type Method Description PointerBfloat16RawIndexer. pointer()PointerBooleanRawIndexer. pointer()PointerByteRawIndexer. pointer()PointerCharRawIndexer. pointer()PointerDoubleRawIndexer. pointer()PointerFloatRawIndexer. pointer()PointerHalfRawIndexer. pointer()PointerIndexer. pointer()Returns the backing pointer, ornullif nonePointerIntRawIndexer. pointer()PointerLongRawIndexer. pointer()PointerShortRawIndexer. pointer()PointerUByteRawIndexer. pointer()PointerUIntRawIndexer. pointer()PointerULongRawIndexer. pointer()PointerUShortRawIndexer. pointer()
-