예제 #1
0
        SBMLConverter clone()
        {
            IntPtr cPtr = libsbmlPINVOKE.SBMLStripPackageConverter_clone(swigCPtr);
            SBMLStripPackageConverter ret = (cPtr == IntPtr.Zero) ? null : new SBMLStripPackageConverter(cPtr, true);

            return(ret);
        }
예제 #2
0
 SBMLStripPackageConverter(SBMLStripPackageConverter obj) : this(libsbmlPINVOKE.new_SBMLStripPackageConverter__SWIG_1(SBMLStripPackageConverter.getCPtr(obj)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        internal static HandleRef getCPtrAndDisown(SBMLStripPackageConverter 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 an SBMLStripPackageConverter
    * object.
    *
    * @param obj the SBMLStripPackageConverter object to copy.
    */
 public SBMLStripPackageConverter(SBMLStripPackageConverter obj)
     : this(libsbmlPINVOKE.new_SBMLStripPackageConverter__SWIG_1(SBMLStripPackageConverter.getCPtr(obj)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
        internal static HandleRef getCPtrAndDisown(SBMLStripPackageConverter obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

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