Ejemplo n.º 1
0
 public EmptyNodes(EmptyNodes other) : this(udpipe_csharpPINVOKE.new_EmptyNodes__SWIG_1(EmptyNodes.getCPtr(other)), true)
 {
     if (udpipe_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public EmptyNodesEnumerator(EmptyNodes collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, EmptyNodes values)
 {
     udpipe_csharpPINVOKE.EmptyNodes_SetRange(swigCPtr, index, EmptyNodes.getCPtr(values));
     if (udpipe_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static EmptyNodes Repeat(EmptyNode value, int count)
        {
            global::System.IntPtr cPtr = udpipe_csharpPINVOKE.EmptyNodes_Repeat(EmptyNode.getCPtr(value), count);
            EmptyNodes            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new EmptyNodes(cPtr, true);

            if (udpipe_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public EmptyNodes GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = udpipe_csharpPINVOKE.EmptyNodes_GetRange(swigCPtr, index, count);
            EmptyNodes            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new EmptyNodes(cPtr, true);

            if (udpipe_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(EmptyNodes obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }