SBMLConverter clone()
        {
            global::System.IntPtr       cPtr = libsbmlPINVOKE.SBMLLevel1Version1Converter_clone(swigCPtr);
            SBMLLevel1Version1Converter ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SBMLLevel1Version1Converter(cPtr, true);

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

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

            return(ptr);
        }
コード例 #4
0
        internal static HandleRef getCPtrAndDisown(SBMLLevel1Version1Converter obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
コード例 #5
0
 internal static HandleRef getCPtr(SBMLLevel1Version1Converter obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #6
0
 /**
    * Copy constructor; creates a copy of an SBMLLevel1Version1Converter
    * object.
    *
    * @param obj the SBMLLevel1Version1Converter object to copy.
    */
 public SBMLLevel1Version1Converter(SBMLLevel1Version1Converter obj)
     : this(libsbmlPINVOKE.new_SBMLLevel1Version1Converter__SWIG_1(SBMLLevel1Version1Converter.getCPtr(obj)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SBMLLevel1Version1Converter obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }