public PTextFile(PTextFile other) : this(PapillonPINVOKE.new_PTextFile__SWIG_1(PTextFile.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public static PResult ReadAll(string filename, PTextFile textFile) { PResult ret = new PResult(PapillonPINVOKE.PTextFile_ReadAll(filename, PTextFile.getCPtr(textFile)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PTextFile obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }