Beispiel #1
0
 public QueryAnnotationNodeVector(QueryAnnotationNodeVector other) : this(indri_csharpPINVOKE.new_QueryAnnotationNodeVector__SWIG_1(QueryAnnotationNodeVector.getCPtr(other)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public QueryAnnotationNodeVectorEnumerator(QueryAnnotationNodeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, QueryAnnotationNodeVector values)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_SetRange(swigCPtr, index, QueryAnnotationNodeVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
        public static QueryAnnotationNodeVector Repeat(QueryAnnotationNode value, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.QueryAnnotationNodeVector_Repeat(QueryAnnotationNode.getCPtr(value), count);
            QueryAnnotationNodeVector ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotationNodeVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #5
0
        public QueryAnnotationNodeVector GetRange(int index, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.QueryAnnotationNodeVector_GetRange(swigCPtr, index, count);
            QueryAnnotationNodeVector ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotationNodeVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public QueryAnnotationNodeVectorEnumerator(QueryAnnotationNodeVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
 internal static HandleRef getCPtr(QueryAnnotationNodeVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public void SetRange(int index, QueryAnnotationNodeVector values)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_SetRange(swigCPtr, index, QueryAnnotationNodeVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #9
0
 internal static HandleRef getCPtr(QueryAnnotationNodeVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }