SBasePlugin clone()
        {
            IntPtr             cPtr = libsbmlPINVOKE.SBMLDocumentPlugin_clone(swigCPtr);
            SBMLDocumentPlugin ret  = (cPtr == IntPtr.Zero) ? null : new SBMLDocumentPlugin(cPtr, true);

            return(ret);
        }
 SBMLDocumentPlugin(SBMLDocumentPlugin orig) : this(libsbmlPINVOKE.new_SBMLDocumentPlugin__SWIG_1(SBMLDocumentPlugin.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        internal static HandleRef getCPtrAndDisown(SBMLDocumentPlugin obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return(ptr);
        }
 /**
    * Copy constructor. Creates a copy of this object.
    */
 public SBMLDocumentPlugin(SBMLDocumentPlugin orig)
     : this(libsbmlPINVOKE.new_SBMLDocumentPlugin__SWIG_1(SBMLDocumentPlugin.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
        internal static HandleRef getCPtrAndDisown(SBMLDocumentPlugin obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
 internal static HandleRef getCPtr(SBMLDocumentPlugin obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(SBMLDocumentPlugin obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }