Exemple #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);
        }
Exemple #2
0
 public void Add(ParsedDocument x)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_Add(swigCPtr, ParsedDocument.getCPtr(x));
 }
Exemple #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);
 }
Exemple #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();
 }
Exemple #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();
 }
Exemple #8
0
 public void Add(ParsedDocument x)
 {
     indri_csharpPINVOKE.ParsedDocumentVector_Add(swigCPtr, ParsedDocument.getCPtr(x));
 }
Exemple #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;
 }