public void SetStyleTable(StyleTable table) { OgrPINVOKE.Layer_SetStyleTable(swigCPtr, StyleTable.getCPtr(table)); if (OgrPINVOKE.SWIGPendingException.Pending) { throw OgrPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
public static HandleRef getCPtrAndSetReference(StyleTable obj, object parent) { if (obj != null) { obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
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)); } }
public static HandleRef getCPtr(StyleTable obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }