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