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

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

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

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

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

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