Esempio n. 1
0
        public int addParsedDocument(ParsedDocument document)
        {
            int ret = indri_csharpPINVOKE.IndexEnvironment_addParsedDocument(swigCPtr, ParsedDocument.getCPtr(document));

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
 public void Add(ParsedDocument x)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_Add(swigCPtr, ParsedDocument.getCPtr(x));
 }
Esempio n. 3
0
 internal static HandleRef getCPtr(ParsedDocument obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public int addParsedDocument(ParsedDocument document) {
   int ret = indri_csharpPINVOKE.IndexEnvironment_addParsedDocument(swigCPtr, ParsedDocument.getCPtr(document));
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(ParsedDocument obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 6
0
 private void setitem(int index, ParsedDocument val)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_setitem(swigCPtr, index, ParsedDocument.getCPtr(val));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 7
0
 public void Insert(int index, ParsedDocument x)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_Insert(swigCPtr, index, ParsedDocument.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 8
0
 public void Add(ParsedDocument x)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_Add(swigCPtr, ParsedDocument.getCPtr(x));
 }
Esempio n. 9
0
 public static ParsedDocumentVector Repeat(ParsedDocument value, int count)
 {
     IntPtr cPtr = indri_csharpPINVOKE.ParsedDocumentVector_Repeat(ParsedDocument.getCPtr(value), count);
     ParsedDocumentVector ret = (cPtr == IntPtr.Zero) ? null : new ParsedDocumentVector(cPtr, true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }