public void Insert(int index, QueryAnnotationNode x)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_Insert(swigCPtr, index, QueryAnnotationNode.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 private void setitem(int index, QueryAnnotationNode val)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_setitem(swigCPtr, index, QueryAnnotationNode.getCPtr(val));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
        public QueryAnnotationNode getQueryTree()
        {
            IntPtr cPtr             = indri_csharpPINVOKE.QueryAnnotation_getQueryTree(swigCPtr);
            QueryAnnotationNode ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotationNode(cPtr, false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
        private QueryAnnotationNode getitem(int index)
        {
            IntPtr cPtr             = indri_csharpPINVOKE.QueryAnnotationNodeVector_getitem(swigCPtr, index);
            QueryAnnotationNode ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotationNode(cPtr, false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static HandleRef getCPtr(QueryAnnotationNode obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #7
0
 internal static HandleRef getCPtr(QueryAnnotationNode obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 private void setitem(int index, QueryAnnotationNode val)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_setitem(swigCPtr, index, QueryAnnotationNode.getCPtr(val));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
 public void Insert(int index, QueryAnnotationNode x)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_Insert(swigCPtr, index, QueryAnnotationNode.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Example #10
0
 public void Add(QueryAnnotationNode x)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_Add(swigCPtr, QueryAnnotationNode.getCPtr(x));
 }
Example #11
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;
 }
 public void Add(QueryAnnotationNode x)
 {
     indri_csharpPINVOKE.QueryAnnotationNodeVector_Add(swigCPtr, QueryAnnotationNode.getCPtr(x));
 }