Пример #1
0
        public static GvPortList Alloc()
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvPortList_Alloc();
            GvPortList            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GvPortList(cPtr, false);

            return(ret);
        }
Пример #2
0
 public void GetPortList(GvPortIO port, GvPortList portlist)
 {
     C4dApiPINVOKE.GvNode_GetPortList(swigCPtr, (int)port, GvPortList.getCPtr(portlist));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public virtual void iGetPortList(GvNode bn, GvPortIO port, GvPortList portlist)
 {
     C4dApiPINVOKE.GvOperatorData_iGetPortList(swigCPtr, GvNode.getCPtr(bn), (int)port, GvPortList.getCPtr(portlist));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GvPortList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }