Inheritance: IDisposable
Exemple #1
0
        ASTBasePlugin getPlugin(long n)
        {
            IntPtr        cPtr = libsbmlPINVOKE.ASTBase_getPlugin__SWIG_2(swigCPtr, n);
            ASTBasePlugin ret  = (cPtr == IntPtr.Zero) ? null : new ASTBasePlugin(cPtr, false);

            return(ret);
        }
Exemple #2
0
        ASTBasePlugin clone()
        {
            IntPtr        cPtr = libsbmlPINVOKE.ASTBasePlugin_clone(swigCPtr);
            ASTBasePlugin ret  = (cPtr == IntPtr.Zero) ? null : new ASTBasePlugin(cPtr, true);

            return(ret);
        }
Exemple #3
0
        ASTBasePlugin getPlugin(string package)
        {
            IntPtr        cPtr = libsbmlPINVOKE.ASTBase_getPlugin__SWIG_0(swigCPtr, package);
            ASTBasePlugin ret  = (cPtr == IntPtr.Zero) ? null : new ASTBasePlugin(cPtr, false);

            return(ret);
        }
Exemple #4
0
        internal static HandleRef getCPtrAndDisown(ASTBasePlugin obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return(ptr);
        }
Exemple #5
0
 void addPlugin(ASTBasePlugin plugin)
 {
     libsbmlPINVOKE.ASTBase_addPlugin(swigCPtr, ASTBasePlugin.getCPtr(plugin));
 }
Exemple #6
0
        ASTBasePlugin clone()
        {
            ASTBasePlugin ret = (ASTBasePlugin)libsbml.DowncastASTBasePlugin(libsbmlPINVOKE.ASTBasePlugin_clone(swigCPtr), true);

            return(ret);
        }
Exemple #7
0
 internal static HandleRef getCPtr(ASTBasePlugin obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #8
0
        ASTBasePlugin getPlugin(long n)
        {
            ASTBasePlugin ret = (ASTBasePlugin)libsbml.DowncastASTBasePlugin(libsbmlPINVOKE.ASTBase_getPlugin__SWIG_2(swigCPtr, n), false);

            return(ret);
        }
Exemple #9
0
        ASTBasePlugin getPlugin(string package)
        {
            ASTBasePlugin ret = (ASTBasePlugin)libsbml.DowncastASTBasePlugin(libsbmlPINVOKE.ASTBase_getPlugin__SWIG_0(swigCPtr, package), false);

            return(ret);
        }
Exemple #10
0
 public virtual void addPlugin(ASTBasePlugin plugin)
 {
     libsbmlPINVOKE.ASTBase_addPlugin__SWIG_0(swigCPtr, ASTBasePlugin.getCPtr(plugin));
 }
        ASTBasePlugin getASTPlugin(long i)
        {
            ASTBasePlugin ret = (ASTBasePlugin)libsbml.DowncastASTBasePlugin(libsbmlPINVOKE.SBMLExtensionRegistry_getASTPlugin(swigCPtr, i), false);

            return(ret);
        }
Exemple #12
0
 public virtual void addPlugin(ASTBasePlugin plugin)
 {
     libsbmlPINVOKE.ASTBase_addPlugin(swigCPtr, ASTBasePlugin.getCPtr(plugin));
 }
Exemple #13
0
 /** */
 /* libsbml-internal */
 public static bool representsUnaryFunction(int type, ASTBasePlugin plugin)
 {
     bool ret = libsbmlPINVOKE.representsUnaryFunction__SWIG_0(type, ASTBasePlugin.getCPtr(plugin));
     return ret;
 }
Exemple #14
0
 /** */
 /* libsbml-internal */
 public static bool representsQualifier(int type, ASTBasePlugin plugin)
 {
     bool ret = libsbmlPINVOKE.representsQualifier__SWIG_0(type, ASTBasePlugin.getCPtr(plugin));
     return ret;
 }
        internal static HandleRef getCPtrAndDisown(ASTBasePlugin obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

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