public FloatVector(int capacity) : this(MyDLLPINVOKE.new_FloatVector__SWIG_2(capacity), true) { if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public static CppClass CreateInstance() { global::System.IntPtr cPtr = MyDLLPINVOKE.CreateInstance(); CppClass ret = (cPtr == global::System.IntPtr.Zero) ? null : new CppClass(cPtr, false); return(ret); }
public FloatVector(FloatVector other) : this(MyDLLPINVOKE.new_FloatVector__SWIG_1(FloatVector.getCPtr(other)), true) { if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetVector(FloatVector fVect) { MyDLLPINVOKE.CppClass_SetVector(swigCPtr, FloatVector.getCPtr(fVect)); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetString(string str) { MyDLLPINVOKE.CppClass_SetString(swigCPtr, str); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetCallback(CallbackBase callbackObject) { MyDLLPINVOKE.CppClass_SetCallback(swigCPtr, CallbackBase.getCPtr(callbackObject)); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void Callback(string str, FloatVector fVect) { MyDLLPINVOKE.CallbackBase_Callback(swigCPtr, str, FloatVector.getCPtr(fVect)); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, float x) { MyDLLPINVOKE.FloatVector_Insert(swigCPtr, index, x); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAt(int index) { MyDLLPINVOKE.FloatVector_RemoveAt(swigCPtr, index); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void Reverse(int index, int count) { MyDLLPINVOKE.FloatVector_Reverse__SWIG_1(swigCPtr, index, count); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, FloatVector values) { MyDLLPINVOKE.FloatVector_SetRange(swigCPtr, index, FloatVector.getCPtr(values)); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("Callback", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateCallbackBase_0(SwigDirectorMethodCallback); } MyDLLPINVOKE.CallbackBase_director_connect(swigCPtr, swigDelegate0); }
private void setitem(int index, float val) { MyDLLPINVOKE.FloatVector_setitem(swigCPtr, index, val); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } }
private float getitem(int index) { float ret = MyDLLPINVOKE.FloatVector_getitem(swigCPtr, index); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static FloatVector Repeat(float value, int count) { global::System.IntPtr cPtr = MyDLLPINVOKE.FloatVector_Repeat(value, count); FloatVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new FloatVector(cPtr, true); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public FloatVector GetRange(int index, int count) { global::System.IntPtr cPtr = MyDLLPINVOKE.FloatVector_GetRange(swigCPtr, index, count); FloatVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new FloatVector(cPtr, true); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
protected virtual void Dispose(bool disposing) { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; MyDLLPINVOKE.delete_FloatVector(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } } }
public bool Contains(float value) { bool ret = MyDLLPINVOKE.FloatVector_Contains(swigCPtr, value); return(ret); }
public void Clear() { MyDLLPINVOKE.FloatVector_Clear(swigCPtr); }
public void Add(float x) { MyDLLPINVOKE.FloatVector_Add(swigCPtr, x); }
public void Reverse() { MyDLLPINVOKE.FloatVector_Reverse__SWIG_0(swigCPtr); }
private uint size() { uint ret = MyDLLPINVOKE.FloatVector_size(swigCPtr); return(ret); }
private uint capacity() { uint ret = MyDLLPINVOKE.FloatVector_capacity(swigCPtr); return(ret); }
public CppClass() : this(MyDLLPINVOKE.new_CppClass(), true) { }
public int LastIndexOf(float value) { int ret = MyDLLPINVOKE.FloatVector_LastIndexOf(swigCPtr, value); return(ret); }
public FloatVector GetVector() { FloatVector ret = new FloatVector(MyDLLPINVOKE.CppClass_GetVector(swigCPtr), true); return(ret); }
private void reserve(uint n) { MyDLLPINVOKE.FloatVector_reserve(swigCPtr, n); }
public FloatVector() : this(MyDLLPINVOKE.new_FloatVector__SWIG_0(), true) { }
public bool Remove(float value) { bool ret = MyDLLPINVOKE.FloatVector_Remove(swigCPtr, value); return(ret); }
public void ExeCallback() { MyDLLPINVOKE.CppClass_ExeCallback(swigCPtr); }