Пример #1
0
        SBaseExtensionPoint clone()
        {
            IntPtr cPtr             = libsbmlPINVOKE.SBaseExtensionPoint_clone(swigCPtr);
            SBaseExtensionPoint ret = (cPtr == IntPtr.Zero) ? null : new SBaseExtensionPoint(cPtr, true);

            return(ret);
        }
Пример #2
0
 SBaseExtensionPoint(SBaseExtensionPoint rhs) : this(libsbmlPINVOKE.new_SBaseExtensionPoint__SWIG_3(SBaseExtensionPoint.getCPtr(rhs)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
        internal static HandleRef getCPtrAndDisown(SBaseExtensionPoint obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return(ptr);
        }
Пример #4
0
 long getNumExtension(SBaseExtensionPoint extPoint)
 {
     return((long)libsbmlPINVOKE.SBMLExtensionRegistry_getNumExtension(swigCPtr, SBaseExtensionPoint.getCPtr(extPoint)));
 }
 /**
    * copy constructor
    */
 public SBaseExtensionPoint(SBaseExtensionPoint rhs)
     : this(libsbmlPINVOKE.new_SBaseExtensionPoint__SWIG_1(SBaseExtensionPoint.getCPtr(rhs)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
        internal static HandleRef getCPtrAndDisown(SBaseExtensionPoint obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
 internal static HandleRef getCPtr(SBaseExtensionPoint obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #8
0
 internal static HandleRef getCPtr(SBaseExtensionPoint obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #9
0
 /**
    * Returns the number of extensions that have a given extension point.
    *
    * @param extPoint the SBaseExtensionPoint object
    *
    * @return the number of SBMLExtension-derived objects with the given
    * extension point.
    */
 public long getNumExtension(SBaseExtensionPoint extPoint)
 {
     return (long)libsbmlPINVOKE.SBMLExtensionRegistry_getNumExtension(swigCPtr, SBaseExtensionPoint.getCPtr(extPoint));
 }