Esempio n. 1
0
 internal static HandleRef getCPtr(Field obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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();
 }
Esempio n. 5
0
 public void Add(Field x)
 {
     indri_csharpPINVOKE.FieldVector_Add(swigCPtr, Field.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 6
0
 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;
 }