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(); } }
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(); } }
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); }