public CSVectorIntEnumerator(CSVectorInt collection) { this.collectionRef = collection; this.currentIndex = -1; this.currentObject = null; this.currentSize = this.collectionRef.Count; }
public void SetRange(int index, CSVectorInt values) { CocoStudioEngineAdapterPINVOKE.CSVectorInt_SetRange(this.swigCPtr, index, CSVectorInt.getCPtr(values)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSVectorInt(CSVectorInt other) : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorInt__SWIG_1(CSVectorInt.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static CSVectorInt Repeat(int value, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorInt_Repeat(value, count); CSVectorInt result = (intPtr == IntPtr.Zero) ? null : new CSVectorInt(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public CSVectorInt GetRange(int index, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorInt_GetRange(this.swigCPtr, index, count); CSVectorInt result = (intPtr == IntPtr.Zero) ? null : new CSVectorInt(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public static HandleRef getCPtr(CSVectorInt obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }