W3cubDocs

/Haxe C++

Pointer<T>

package cpp

extends ConstPointer

Available on cpp

Variables

ref:Reference<T>

Methods

destroy ():Void

destroyArray ():Void

get_ref ():Reference<T>

postIncRef ():Reference<T>

setAt (inIndex:Int, value:T ):Void

set_ref (t:T ):Reference<T>

inline toUnmanagedArray (elementCount:Int):Array<T>

inline toUnmanagedVector (elementCount:Int):Vector<T>

Static methods

static addressOf<T> (inVariable:Reference<T>):Pointer<T>

static inline arrayElem<T> (array:Array<T>, inElem:Int):Pointer<T>

static endOf<T> (inVariable:T ):Pointer<Void>

static inline fromHandle<T> (inHandle:Dynamic, ?inKind:String):Pointer<T>

static fromPointer<T> (inNativePointer:Dynamic):Pointer<T>

static fromRaw<T> (ptr:RawPointer<T>):Pointer<T>

static nativeArrayElem<T> (array:Array<T>, inElem:Int):AutoCast

static nativeFromHandle<T> (inHandle:Dynamic, ?inKind:String):AutoCast

static nativeOfArray<T> (array:Array<T>):AutoCast

static inline ofArray<T> (array:Array<T>):Pointer<T>

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cpp/Pointer.html