public BuddyVector2(BuddyVector2 other) : this(pjsua2PINVOKE.new_BuddyVector2__SWIG_1(BuddyVector2.getCPtr(other)), true) { if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public BuddyVector2Enumerator(BuddyVector2 collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, BuddyVector2 values) { pjsua2PINVOKE.BuddyVector2_SetRange(swigCPtr, index, BuddyVector2.getCPtr(values)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } }
public BuddyVector2 enumBuddies2() { BuddyVector2 ret = new BuddyVector2(pjsua2PINVOKE.Account_enumBuddies2(swigCPtr), true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static BuddyVector2 Repeat(Buddy value, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector2_Repeat(Buddy.getCPtr(value), count); BuddyVector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector2(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BuddyVector2 GetRange(int index, int count) { global::System.IntPtr cPtr = pjsua2PINVOKE.BuddyVector2_GetRange(swigCPtr, index, count); BuddyVector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new BuddyVector2(cPtr, true); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BuddyVector2 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }