コード例 #1
0
ファイル: PStringMap.cs プロジェクト: videoai/papillon-swig
 public PStringMap(PStringMap other) : this(PapillonPINVOKE.new_PStringMap__SWIG_1(PStringMap.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
 public PFeatureMap(PStringMap mapFeaturePoints, PStringMap mapFeatureRectangles) : this(PapillonPINVOKE.new_PFeatureMap__SWIG_2(PStringMap.getCPtr(mapFeaturePoints), PStringMap.getCPtr(mapFeatureRectangles)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
ファイル: PStringMap.cs プロジェクト: videoai/papillon-swig
    public PStringMap Put(string key, PObject value)
    {
        PStringMap ret = new PStringMap(PapillonPINVOKE.PStringMap_Put(swigCPtr, key, PObject.getCPtr(value)), false);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
ファイル: PFeatureMap.cs プロジェクト: videoai/papillon-swig
    public bool GetFeatureRectangles(PStringMap featureRectangles)
    {
        bool ret = PapillonPINVOKE.PFeatureMap_GetFeatureRectangles__SWIG_1(swigCPtr, PStringMap.getCPtr(featureRectangles));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
ファイル: PStringMap.cs プロジェクト: videoai/papillon-swig
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PStringMap obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }