public PResult Read(PByteStream arg0, ESerialisationFormat format) { PResult ret = new PResult(PapillonPINVOKE.PResult_Read__SWIG_0(swigCPtr, PByteStream.getCPtr(arg0), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult ReadFromFileWatchlist(string filename, PWatchlist arg1, ESerialisationFormat format) { PResult ret = new PResult(PapillonPINVOKE.PFileIO_ReadFromFileWatchlist__SWIG_0(filename, PWatchlist.getCPtr(arg1), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult WriteToFile(string filename, PDescription arg1, ESerialisationFormat format) { PResult ret = new PResult(PapillonPINVOKE.PFileIO_WriteToFile__SWIG_2(filename, PDescription.getCPtr(arg1), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PResult Write(PByteStream os, ESerialisationFormat format) { PResult ret = new PResult(PapillonPINVOKE.PObject_Write__SWIG_0(swigCPtr, PByteStream.getCPtr(os), (int)format), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PResult ErrorDeserializationUnsupportedFormat(ESerialisationFormat format) { PResult ret = new PResult(PapillonPINVOKE.PResult_ErrorDeserializationUnsupportedFormat((int)format), true); return(ret); }