예제 #1
0
파일: Field.cs 프로젝트: oroszgy/sefh
 internal static HandleRef getCPtr(Field obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #2
0
파일: FieldVector.cs 프로젝트: oroszgy/sefh
 private void setitem(int index, Field val)
 {
     indri_csharpPINVOKE.FieldVector_setitem(swigCPtr, index, Field.getCPtr(val));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #3
0
파일: FieldVector.cs 프로젝트: oroszgy/sefh
 private Field getitemcopy(int index)
 {
     Field ret = new Field(indri_csharpPINVOKE.FieldVector_getitemcopy(swigCPtr, index), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #4
0
파일: FieldVector.cs 프로젝트: oroszgy/sefh
 public void Insert(int index, Field x)
 {
     indri_csharpPINVOKE.FieldVector_Insert(swigCPtr, index, Field.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #5
0
파일: FieldVector.cs 프로젝트: oroszgy/sefh
 public void Add(Field x)
 {
     indri_csharpPINVOKE.FieldVector_Add(swigCPtr, Field.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #6
0
파일: FieldVector.cs 프로젝트: oroszgy/sefh
 public static FieldVector Repeat(Field value, int count)
 {
     IntPtr cPtr = indri_csharpPINVOKE.FieldVector_Repeat(Field.getCPtr(value), count);
     FieldVector ret = (cPtr == IntPtr.Zero) ? null : new FieldVector(cPtr, true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }