Exemple #1
0
 public void SetStyleTable(StyleTable table)
 {
     OgrPINVOKE.Layer_SetStyleTable(swigCPtr, StyleTable.getCPtr(table));
     if (OgrPINVOKE.SWIGPendingException.Pending)
     {
         throw OgrPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public StyleTable GetStyleTable()
        {
            IntPtr     cPtr = OgrPINVOKE.Layer_GetStyleTable(swigCPtr);
            StyleTable ret  = (cPtr == IntPtr.Zero) ? null : new StyleTable(cPtr, false, ThisOwn_false());

            if (OgrPINVOKE.SWIGPendingException.Pending)
            {
                throw OgrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
 public static HandleRef getCPtrAndSetReference(StyleTable obj, object parent)
 {
     if (obj != null)
     {
       obj.swigParentRef = parent;
       return obj.swigCPtr;
     }
     else
     {
       return new HandleRef(null, IntPtr.Zero);
     }
 }
Exemple #4
0
 public static HandleRef getCPtrAndSetReference(StyleTable obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Exemple #5
0
 public static HandleRef getCPtrAndDisown(StyleTable obj, object parent)
 {
     if (obj != null)
     {
         obj.swigCMemOwn   = false;
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Exemple #6
0
 public static HandleRef getCPtrAndDisown(StyleTable obj, object parent)
 {
     if (obj != null)
     {
       obj.swigCMemOwn = false;
       obj.swigParentRef = parent;
       return obj.swigCPtr;
     }
     else
     {
       return new HandleRef(null, IntPtr.Zero);
     }
 }
Exemple #7
0
 public static HandleRef getCPtr(StyleTable obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #8
0
 public void SetStyleTable(StyleTable table)
 {
     OgrPINVOKE.Layer_SetStyleTable(swigCPtr, StyleTable.getCPtr(table));
     if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #9
0
 public static HandleRef getCPtr(StyleTable obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }