예제 #1
0
 public PVersion(PVersion other) : this(PapillonPINVOKE.new_PVersion__SWIG_6(PVersion.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void SetVersion(PVersion version)
 {
     PapillonPINVOKE.PDescription_SetVersion(swigCPtr, PVersion.getCPtr(version));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
    public int Compare(PVersion other)
    {
        int ret = PapillonPINVOKE.PVersion_Compare(swigCPtr, PVersion.getCPtr(other));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #4
0
    public static PVersion GetVersion()
    {
        PVersion ret = new PVersion(PapillonPINVOKE.PapillonSDK_GetVersion(), true);

        return(ret);
    }
예제 #5
0
    public PVersion GetVersion()
    {
        PVersion ret = new PVersion(PapillonPINVOKE.PDescription_GetVersion(swigCPtr), true);

        return(ret);
    }
예제 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PVersion obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #7
0
    public static PVersion Null()
    {
        PVersion ret = new PVersion(PapillonPINVOKE.PVersion_Null(), false);

        return(ret);
    }