Esempio n. 1
0
 public PDescriber(PDescriber other) : this(PapillonPINVOKE.new_PDescriber__SWIG_2(PDescriber.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void Configure(PDetector detector, PDescriber describer)
 {
     PapillonPINVOKE.PEnrollment_Configure(swigCPtr, PDetector.getCPtr(detector), PDescriber.getCPtr(describer));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
    public int RecomputeDescriptors(PGuid describeId, PDetector detector, PDescriber describer)
    {
        int ret = PapillonPINVOKE.PWatchlist_RecomputeDescriptors(swigCPtr, PGuid.getCPtr(describeId), PDetector.getCPtr(detector), PDescriber.getCPtr(describer));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 4
0
    public static PResult Create(string productName, PProperties parameters, PDescriber describer)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Create__SWIG_0(productName, PProperties.getCPtr(parameters), PDescriber.getCPtr(describer)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public static PResult Create(SWIGTYPE_p_papillon__PPlugin plugin, PProperties parameters, PDescriber describer)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Create__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PProperties.getCPtr(parameters), PDescriber.getCPtr(describer)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PDescriber obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 7
0
    public PDescriber GetDescriber()
    {
        PDescriber ret = new PDescriber(PapillonPINVOKE.PEnrollment_GetDescriber(swigCPtr), true);

        return(ret);
    }