Exemplo n.º 1
0
 private void setitem(int index, AttributeValuePair value)
 {
     indri_csharpPINVOKE.AttributeValuePairVector_setitem(swigCPtr, index, AttributeValuePair.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void Insert(int index, AttributeValuePair value)
 {
     indri_csharpPINVOKE.AttributeValuePairVector_Insert(swigCPtr, index, AttributeValuePair.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        private AttributeValuePair getitem(int index)
        {
            AttributeValuePair ret = new AttributeValuePair(indri_csharpPINVOKE.AttributeValuePairVector_getitem(swigCPtr, index), false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public static AttributeValuePairVector Repeat(AttributeValuePair value, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.AttributeValuePairVector_Repeat(AttributeValuePair.getCPtr(value), count);
            AttributeValuePairVector ret = (cPtr == IntPtr.Zero) ? null : new AttributeValuePairVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static HandleRef getCPtr(AttributeValuePair obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(AttributeValuePair obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 7
0
 private void setitem(int index, AttributeValuePair value)
 {
     indri_csharpPINVOKE.AttributeValuePairVector_setitem(swigCPtr, index, AttributeValuePair.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 8
0
 private AttributeValuePair getitemcopy(int index)
 {
     AttributeValuePair ret = new AttributeValuePair(indri_csharpPINVOKE.AttributeValuePairVector_getitemcopy(swigCPtr, index), true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 9
0
 public void Insert(int index, AttributeValuePair value)
 {
     indri_csharpPINVOKE.AttributeValuePairVector_Insert(swigCPtr, index, AttributeValuePair.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 10
0
 public static AttributeValuePairVector Repeat(AttributeValuePair value, int count)
 {
     IntPtr cPtr = indri_csharpPINVOKE.AttributeValuePairVector_Repeat(AttributeValuePair.getCPtr(value), count);
     AttributeValuePairVector ret = (cPtr == IntPtr.Zero) ? null : new AttributeValuePairVector(cPtr, true);
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }