Example #1
0
 public void SetStyleTable(StyleTable table)
 {
     OgrPINVOKE.Layer_SetStyleTable(swigCPtr, StyleTable.getCPtr(table));
     if (OgrPINVOKE.SWIGPendingException.Pending)
     {
         throw OgrPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #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);
        }
Example #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));
     }
 }
Example #4
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));
     }
 }
Example #5
0
 public static HandleRef getCPtr(StyleTable obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }