Ejemplo n.º 1
0
 public void AddVariable(string str_var_name, SWIGTYPE_p_OTVariable theVar)
 {
     otapiPINVOKE.OT_ME_AddVariable(swigCPtr, str_var_name, SWIGTYPE_p_OTVariable.getCPtr(theVar));
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
        public static SWIGTYPE_p_OTVariable FindVariable2(string str_var_name)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.OT_ME_FindVariable2(str_var_name);
            SWIGTYPE_p_OTVariable ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OTVariable(cPtr, false);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
 public void AddVariable(string str_var_name, SWIGTYPE_p_OTVariable theVar) {
   otapiPINVOKE.OT_ME_AddVariable(swigCPtr, str_var_name, SWIGTYPE_p_OTVariable.getCPtr(theVar));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_OTVariable obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_OTVariable obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }