Exemplo n.º 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);
        }
Exemplo n.º 2
0
        static SBMLConverterRegistry getInstance()
        {
            SBMLConverterRegistry ret = new SBMLConverterRegistry(libsbmlPINVOKE.SBMLConverterRegistry_getInstance(), false);

            return(ret);
        }
Exemplo n.º 3
0
 internal static HandleRef getCPtr(SBMLConverterRegistry obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 4
0
 /**
    * 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;
 }
Exemplo n.º 5
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;
        }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(SBMLConverterRegistry obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }