Ejemplo n.º 1
0
        internal static HandleRef getCPtrAndDisown(SBMLExtensionRegistry obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return(ptr);
        }
Ejemplo n.º 2
0
        static SBMLExtensionRegistry getInstance()
        {
            SBMLExtensionRegistry ret = new SBMLExtensionRegistry(libsbmlPINVOKE.SBMLExtensionRegistry_getInstance(), false);

            return(ret);
        }
Ejemplo n.º 3
0
 internal static HandleRef getCPtr(SBMLExtensionRegistry obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        internal static HandleRef getCPtrAndDisown(SBMLExtensionRegistry obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
 internal static HandleRef getCPtr(SBMLExtensionRegistry obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 /**
    * Returns a singleton instance of the registry.
    *
    * Callers need to obtain a copy of the package extension registry before
    * they can invoke its methods.  The registry is implemented as a
    * singleton, and this is the method callers can use to get a copy of it.
    *
    * @return the instance of the SBMLExtensionRegistry object.
    */
 public static SBMLExtensionRegistry getInstance()
 {
     SBMLExtensionRegistry ret = new SBMLExtensionRegistry(libsbmlPINVOKE.SBMLExtensionRegistry_getInstance(), false);
     return ret;
 }