Exemple #1
0
 public PStringMap(PStringMap other) : this(PapillonPINVOKE.new_PStringMap__SWIG_1(PStringMap.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 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();
     }
 }
Exemple #3
0
    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);
    }
Exemple #4
0
    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);
    }
Exemple #5
0
 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);
 }