Esempio n. 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();
     }
 }
Esempio n. 2
0
 public QueryAnnotationNodeVectorEnumerator(QueryAnnotationNodeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 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();
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 6
0
 public QueryAnnotationNodeVectorEnumerator(QueryAnnotationNodeVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
Esempio n. 7
0
 internal static HandleRef getCPtr(QueryAnnotationNodeVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 8
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();
 }
Esempio n. 9
0
 internal static HandleRef getCPtr(QueryAnnotationNodeVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }