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