internal static HandleRef getCPtrAndDisown(SBasePlugin obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return(ptr); }
internal static HandleRef getCPtrAndDisown(SBasePlugin obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return ptr; }
internal static HandleRef getCPtr(SBasePlugin obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
SBasePlugin clone() { SBasePlugin ret = (SBasePlugin)libsbml.DowncastSBasePlugin(libsbmlPINVOKE.SBasePlugin_clone(swigCPtr), true); return(ret); }
internal static HandleRef getCPtr(SBasePlugin obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static SBasePlugin DowncastSBasePlugin(IntPtr cPtr, bool owner) { if (cPtr.Equals(IntPtr.Zero)) return null; SBasePlugin sbp = new SBasePlugin(cPtr, false); string pkgName = sbp.getPackageName(); SBMLExtension sbmlext = SBMLExtensionRegistry.getInstance().getExtension(pkgName); if (sbmlext != null) { return sbmlext.DowncastSBasePlugin(cPtr,owner); } return new SBasePlugin(cPtr,owner); }