Example #1
0
        SBMLConverter clone()
        {
            IntPtr cPtr = libsbmlPINVOKE.SBMLFunctionDefinitionConverter_clone(swigCPtr);
            SBMLFunctionDefinitionConverter ret = (cPtr == IntPtr.Zero) ? null : new SBMLFunctionDefinitionConverter(cPtr, true);

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

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

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

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

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