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

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