示例#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);
    }