Пример #1
0
        internal static HandleRef getCPtrAndDisown(SBMLConverterRegistry obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return(ptr);
        }
Пример #2
0
        static SBMLConverterRegistry getInstance()
        {
            SBMLConverterRegistry ret = new SBMLConverterRegistry(libsbmlPINVOKE.SBMLConverterRegistry_getInstance(), false);

            return(ret);
        }
Пример #3
0
 internal static HandleRef getCPtr(SBMLConverterRegistry obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 /**
    * Returns the singleton instance for the converter registry.
    *
    * Prior to using the registry, callers have to obtain a copy of the
    * registry.  This static method provides the means for doing that.
    *
    * @return the singleton for the converter registry.
    */
 public static SBMLConverterRegistry getInstance()
 {
     SBMLConverterRegistry ret = new SBMLConverterRegistry(libsbmlPINVOKE.SBMLConverterRegistry_getInstance(), false);
     return ret;
 }
        internal static HandleRef getCPtrAndDisown(SBMLConverterRegistry obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
 internal static HandleRef getCPtr(SBMLConverterRegistry obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }