Inheritance: IDisposable
Example #1
0
        SBMLValidator clone()
        {
            IntPtr        cPtr = (SwigDerivedClassHasMethod("clone", swigMethodTypes0) ? libsbmlPINVOKE.SBMLValidator_cloneSwigExplicitSBMLValidator(swigCPtr) : libsbmlPINVOKE.SBMLValidator_clone(swigCPtr));
            SBMLValidator ret  = (cPtr == IntPtr.Zero) ? null : new SBMLValidator(cPtr, true);

            return(ret);
        }
        SBMLValidator clone()
        {
            IntPtr        cPtr = libsbmlPINVOKE.SBMLExternalValidator_clone(swigCPtr);
            SBMLValidator ret  = (cPtr == IntPtr.Zero) ? null : new SBMLValidator(cPtr, true);

            return(ret);
        }
Example #3
0
 SBMLValidator(SBMLValidator orig) : this(libsbmlPINVOKE.new_SBMLValidator__SWIG_1(SBMLValidator.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
     SwigDirectorConnect();
 }
	internal static HandleRef getCPtrAndDisown (SBMLValidator obj)
	{
		HandleRef ptr = new HandleRef(null, IntPtr.Zero);
		
		if (obj != null)
		{
			ptr             = obj.swigCPtr;
			obj.swigCMemOwn = false;
		}
		
		return ptr;
	}
Example #5
0
 /**
    * Copy constructor; creates a copy of an SBMLValidator object.
    *
    * @param orig the object to copy.
    *
    * @throws @if python ValueError @else SBMLConstructorException @endif
    * Thrown if the argument @p orig is @c null.
    */
 public SBMLValidator(SBMLValidator orig)
     : this(libsbmlPINVOKE.new_SBMLValidator__SWIG_1(SBMLValidator.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     SwigDirectorConnect();
 }
Example #6
0
        internal static HandleRef getCPtrAndDisown(SBMLValidator obj)
        {
            HandleRef ptr = new HandleRef(null, IntPtr.Zero);

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

            return ptr;
        }
Example #7
0
 internal static HandleRef getCPtr(SBMLValidator obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
	internal static HandleRef getCPtr(SBMLValidator obj)
	{
		return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
	}
 private IntPtr SwigDirectorclone() {
   return SBMLValidator.getCPtr(clone()).Handle;
 }
Example #10
0
 /**
    * Validation system.
    */
 /* libsbml-internal */
 public int addValidator(SBMLValidator validator)
 {
     int ret = libsbmlPINVOKE.SBMLDocument_addValidator(swigCPtr, SBMLValidator.getCPtr(validator));
     return ret;
 }
Example #11
0
 public static extern void SBMLValidator_director_connect(HandleRef jarg1, SBMLValidator.SwigDelegateSBMLValidator_0 delegate0, SBMLValidator.SwigDelegateSBMLValidator_1 delegate1, SBMLValidator.SwigDelegateSBMLValidator_2 delegate2, SBMLValidator.SwigDelegateSBMLValidator_3 delegate3, SBMLValidator.SwigDelegateSBMLValidator_4 delegate4, SBMLValidator.SwigDelegateSBMLValidator_5 delegate5);
 private global::System.IntPtr SwigDirectorclone()
 {
     return(SBMLValidator.getCPtr(clone()).Handle);
 }