Example #1
0
        public GvPort AddPort(GvPortIO io, int id)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_AddPort__SWIG_2(swigCPtr, (int)io, id);
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Example #2
0
        public GvPort AddPort(GvPortIO io, int id, GvPortFlags flags, bool message)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_AddPort__SWIG_0(swigCPtr, (int)io, id, (int)flags, message);
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Example #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();
     }
 }
Example #4
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();
     }
 }
Example #5
0
        } /* </String_csout> */

        public virtual int GetMainID(GvNode bn, GvPortIO io, DescID desc_id)
        {
            int ret = C4dApiPINVOKE.GvOperatorData_GetMainID(swigCPtr, GvNode.getCPtr(bn), (int)io, DescID.getCPtr(desc_id));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
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();
 }
Example #7
0
 public virtual DescID GetDescID(GvNode bn, GvPortIO io, int main_id) {
   DescID ret = new DescID(C4dApiPINVOKE.GvOperatorData_GetDescID(swigCPtr, GvNode.getCPtr(bn), (int)io, main_id), true);
   return ret;
 }
Example #8
0
 public virtual int GetMainID(GvNode bn, GvPortIO io, DescID desc_id) {
   int ret = C4dApiPINVOKE.GvOperatorData_GetMainID(swigCPtr, GvNode.getCPtr(bn), (int)io, DescID.getCPtr(desc_id));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #9
0
 public virtual int FillPortsMenu(GvNode bn, BaseContainer names, BaseContainer ids, int value_type, GvPortIO port, int first_menu_id) {
   int ret = C4dApiPINVOKE.GvOperatorData_FillPortsMenu(swigCPtr, GvNode.getCPtr(bn), BaseContainer.getCPtr(names), BaseContainer.getCPtr(ids), value_type, (int)port, first_menu_id);
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #10
0
 public bool GetPortDescription(GvPortIO port, int id, GvPortDescription pd) {
   bool ret = C4dApiPINVOKE.GvNode_GetPortDescription(swigCPtr, (int)port, id, GvPortDescription.getCPtr(pd));
   return ret;
 }
Example #11
0
   } /* </String_csout> */ 

  public static void GvGetPortList(GvPortsDescInfo info, GvPortIO port, GvPortList portlist) {
    C4dApiPINVOKE.GvGetPortList(GvPortsDescInfo.getCPtr(info), (int)port, GvPortList.getCPtr(portlist));
    if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
  }
Example #12
0
 public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, SWIGTYPE_p_BaseTime time) {
   bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, SWIGTYPE_p_BaseTime.getCPtr(time));
   return ret;
 }
Example #13
0
 public static bool GvGetPortDescription(GvPortsDescInfo info, GvPortIO port, int id, GvPortDescription pd) {
   bool ret = C4dApiPINVOKE.GvGetPortDescription(GvPortsDescInfo.getCPtr(info), (int)port, id, GvPortDescription.getCPtr(pd));
   return ret;
 }
Example #14
0
 public virtual bool iGetPortDescription(GvNode bn, GvPortIO port, int id, GvPortDescription pd) {
   bool ret = C4dApiPINVOKE.GvOperatorData_iGetPortDescription(swigCPtr, GvNode.getCPtr(bn), (int)port, id, GvPortDescription.getCPtr(pd));
   return ret;
 }
Example #15
0
        public virtual DescID GetDescID(GvNode bn, GvPortIO io, int main_id)
        {
            DescID ret = new DescID(C4dApiPINVOKE.GvOperatorData_GetDescID(swigCPtr, GvNode.getCPtr(bn), (int)io, main_id), true);

            return(ret);
        }
Example #16
0
        public virtual int FillPortsMenu(GvNode bn, BaseContainer names, BaseContainer ids, int value_type, GvPortIO port, int first_menu_id)
        {
            int ret = C4dApiPINVOKE.GvOperatorData_FillPortsMenu(swigCPtr, GvNode.getCPtr(bn), BaseContainer.getCPtr(names), BaseContainer.getCPtr(ids), value_type, (int)port, first_menu_id);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #17
0
        public virtual bool iGetPortDescription(GvNode bn, GvPortIO port, int id, GvPortDescription pd)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_iGetPortDescription(swigCPtr, GvNode.getCPtr(bn), (int)port, id, GvPortDescription.getCPtr(pd));

            return(ret);
        }
Example #18
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_2(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c));

            return(ret);
        }
Example #19
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, BaseTime time)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, BaseTime.getCPtr(time));

            return(ret);
        }
Example #20
0
 public GvPort AddPort(GvPortIO io, int id, GvPortFlags flags, bool message) {
   IntPtr cPtr = C4dApiPINVOKE.GvNode_AddPort__SWIG_0(swigCPtr, (int)io, id, (int)flags, message);
   GvPort ret = (cPtr == IntPtr.Zero) ? null : new GvPort(cPtr, false);
   return ret;
 }
Example #21
0
 public GvPort AddPort(GvPortIO io, int id) {
   IntPtr cPtr = C4dApiPINVOKE.GvNode_AddPort__SWIG_2(swigCPtr, (int)io, id);
   GvPort ret = (cPtr == IntPtr.Zero) ? null : new GvPort(cPtr, false);
   return ret;
 }
Example #22
0
        public bool AddPortIsOK(GvPortIO io, int id)
        {
            bool ret = C4dApiPINVOKE.GvNode_AddPortIsOK(swigCPtr, (int)io, id);

            return(ret);
        }
Example #23
0
 public bool AddPortIsOK(GvPortIO io, int id) {
   bool ret = C4dApiPINVOKE.GvNode_AddPortIsOK(swigCPtr, (int)io, id);
   return ret;
 }
Example #24
0
        public bool GetPortDescription(GvPortIO port, int id, GvPortDescription pd)
        {
            bool ret = C4dApiPINVOKE.GvNode_GetPortDescription(swigCPtr, (int)port, id, GvPortDescription.getCPtr(pd));

            return(ret);
        }
Example #25
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();
 }
Example #26
0
 public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c) {
   bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_2(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c));
   return ret;
 }
Example #27
0
        public GvPortIO GetIO()
        {
            GvPortIO ret = (GvPortIO)C4dApiPINVOKE.GvPort_GetIO(swigCPtr);

            return(ret);
        }