예제 #1
0
        ASTBasePlugin clone()
        {
            global::System.IntPtr     cPtr = libsbmlPINVOKE.L3v2extendedmathASTPlugin_clone(swigCPtr);
            L3v2extendedmathASTPlugin ret  = (cPtr == global::System.IntPtr.Zero) ? null : new L3v2extendedmathASTPlugin(cPtr, true);

            return(ret);
        }
예제 #2
0
 L3v2extendedmathASTPlugin(L3v2extendedmathASTPlugin orig) : this(libsbmlPINVOKE.new_L3v2extendedmathASTPlugin__SWIG_1(L3v2extendedmathASTPlugin.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        internal static HandleRef getCPtrAndDisown(L3v2extendedmathASTPlugin obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

            if (obj != null)
            {
                ptr             = obj.swigCPtr;
                obj.swigCMemOwn = false;
            }

            return(ptr);
        }
예제 #4
0
 internal static HandleRef getCPtr(L3v2extendedmathASTPlugin obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }