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