Exemple #1
0
        SBMLConverter clone()
        {
            IntPtr cPtr = libsbmlPINVOKE.SBMLInferUnitsConverter_clone(swigCPtr);
            SBMLInferUnitsConverter ret = (cPtr == IntPtr.Zero) ? null : new SBMLInferUnitsConverter(cPtr, true);

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

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

            return(ptr);
        }
        internal static HandleRef getCPtrAndDisown(SBMLInferUnitsConverter obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
 internal static HandleRef getCPtr(SBMLInferUnitsConverter obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 /**
    * Copy constructor; creates a copy of an SBMLInferUnitsConverter
    * object.
    *
    * @param obj the SBMLInferUnitsConverter object to copy.
    */
 public SBMLInferUnitsConverter(SBMLInferUnitsConverter obj)
     : this(libsbmlPINVOKE.new_SBMLInferUnitsConverter__SWIG_1(SBMLInferUnitsConverter.getCPtr(obj)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #7
0
 internal static HandleRef getCPtr(SBMLInferUnitsConverter obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }