Package org.robovm.rt.bro.ptr
Class Ptr<S extends NativeObject,T extends Ptr<S,T>>
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.rt.bro.Struct<T>
org.robovm.rt.bro.ptr.Ptr<S,T>
- All Implemented Interfaces:
Iterable<T>
- Direct Known Subclasses:
BooleanPtr.BooleanPtrPtr,BytePtr.BytePtrPtr,CharPtr.CharPtrPtr,DoublePtr.DoublePtrPtr,FloatPtr.FloatPtrPtr,FunctionPtr.FunctionPtrPtr,IntPtr.IntPtrPtr,LongPtr.LongPtrPtr,MachineSizedFloatPtr.MachineSizedFloatPtrPtr,MachineSizedSIntPtr.MachineSizedSIntPtrPtr,MachineSizedUIntPtr.MachineSizedUIntPtrPtr,ShortPtr.ShortPtrPtr,VoidPtr.VoidPtrPtr
public abstract class Ptr<S extends NativeObject,T extends Ptr<S,T>> extends Struct<T>
Generic pointer to pointer (
<type> ** in C).-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Constructor Summary
-
Method Summary
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
equals, getHandle, hashCode, setHandle
-
Constructor Details
-
Ptr
public Ptr() -
Ptr
-
-
Method Details
-
get
-
set
-
set
-
set
- Parameters:
src- the source.
-
set
- Parameters:
src- the source.offset- the offset within the source array to start copying from.count- the number of elements to copy.
-