コード例 #1
0
 public PEventBuilder(PEventBuilder other) : this(PapillonPINVOKE.new_PEventBuilder__SWIG_3(PEventBuilder.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
    public PEventBuilder Annotation(string eventAnnotation)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Annotation(swigCPtr, eventAnnotation), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #3
0
    public PEventBuilder Id(PGuid eventId)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Id(swigCPtr, PGuid.getCPtr(eventId)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
    public PEventBuilder Payload(string key, PObject value)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Payload__SWIG_1(swigCPtr, key, PObject.getCPtr(value)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
    public PEventBuilder DetectionTime(PDateTime detectionTime)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_DetectionTime(swigCPtr, PDateTime.getCPtr(detectionTime)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
    public PEventBuilder Payload(PProperties payload)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Payload__SWIG_0(swigCPtr, PProperties.getCPtr(payload)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #7
0
    public static PEventBuilder Create(string type)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEvent_Create__SWIG_2(type), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #8
0
    public static PEventBuilder Create(string type, string annotation, PGuid sourceId)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEvent_Create__SWIG_0(type, annotation, PGuid.getCPtr(sourceId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PEventBuilder obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #10
0
    public PEventBuilder Composed(bool isComposed)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Composed(swigCPtr, isComposed), false);

        return(ret);
    }
コード例 #11
0
    public PEventBuilder TimeGranularity(PEvent.EEventTimeGranularity timeGranularity)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_TimeGranularity(swigCPtr, (int)timeGranularity), false);

        return(ret);
    }
コード例 #12
0
    public PEventBuilder Certainty(double certainty)
    {
        PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Certainty(swigCPtr, certainty), false);

        return(ret);
    }