public AttributeValuePairVectorEnumerator(AttributeValuePairVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, AttributeValuePairVector values) { indri_csharpPINVOKE.AttributeValuePairVector_SetRange(swigCPtr, index, AttributeValuePairVector.getCPtr(values)); 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); }
public AttributeValuePairVector GetRange(int index, int count) { IntPtr cPtr = indri_csharpPINVOKE.AttributeValuePairVector_GetRange(swigCPtr, index, 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(AttributeValuePairVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public AttributeValuePairVectorEnumerator(AttributeValuePairVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
internal static HandleRef getCPtr(AttributeValuePairVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, AttributeValuePairVector values) { indri_csharpPINVOKE.AttributeValuePairVector_SetRange(swigCPtr, index, AttributeValuePairVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }