private void setitem(int index, MetadataPair val) { indri_csharpPINVOKE.MetadataPairSTDVector_setitem(swigCPtr, index, MetadataPair.getCPtr(val)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, MetadataPair x) { indri_csharpPINVOKE.MetadataPairSTDVector_Insert(swigCPtr, index, MetadataPair.getCPtr(x)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void Add(MetadataPair value) { indri_csharpPINVOKE.MetadataPairVector_Add(swigCPtr, MetadataPair.getCPtr(value)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public static MetadataPairSTDVector Repeat(MetadataPair value, int count) { IntPtr cPtr = indri_csharpPINVOKE.MetadataPairSTDVector_Repeat(MetadataPair.getCPtr(value), count); MetadataPairSTDVector ret = (cPtr == IntPtr.Zero) ? null : new MetadataPairSTDVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }