Пример #1
0
        SBasePlugin clone()
        {
            global::System.IntPtr cPtr             = libsbmlPINVOKE.L3v2extendedmathSBMLDocumentPlugin_clone(swigCPtr);
            L3v2extendedmathSBMLDocumentPlugin ret = (cPtr == global::System.IntPtr.Zero) ? null : new L3v2extendedmathSBMLDocumentPlugin(cPtr, true);

            return(ret);
        }
Пример #2
0
 L3v2extendedmathSBMLDocumentPlugin(L3v2extendedmathSBMLDocumentPlugin orig) : this(libsbmlPINVOKE.new_L3v2extendedmathSBMLDocumentPlugin__SWIG_1(L3v2extendedmathSBMLDocumentPlugin.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
        internal static HandleRef getCPtrAndDisown(L3v2extendedmathSBMLDocumentPlugin 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(L3v2extendedmathSBMLDocumentPlugin obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }