public void SetRange(int index, MetadataPairSTDVector values)
 {
     indri_csharpPINVOKE.MetadataPairSTDVector_SetRange(swigCPtr, index, MetadataPairSTDVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public MetadataPairSTDVector(MetadataPairSTDVector other) : this(indri_csharpPINVOKE.new_MetadataPairSTDVector__SWIG_1(MetadataPairSTDVector.getCPtr(other)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public int addString(string fileName, string fileClass, MetadataPairSTDVector metadata)
        {
            int ret = indri_csharpPINVOKE.IndexEnvironment_addString(swigCPtr, fileName, fileClass, MetadataPairSTDVector.getCPtr(metadata));

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }