Beispiel #1
0
    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);
    }
Beispiel #2
0
    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);
    }
Beispiel #3
0
    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);
    }
Beispiel #4
0
    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);
    }
Beispiel #5
0
    public static PResult ErrorDeserializationUnsupportedFormat(ESerialisationFormat format)
    {
        PResult ret = new PResult(PapillonPINVOKE.PResult_ErrorDeserializationUnsupportedFormat((int)format), true);

        return(ret);
    }