public int SetDefaultRAT(RasterAttributeTable table) { int ret = GdalPINVOKE.Band_SetDefaultRAT(swigCPtr, RasterAttributeTable.getCPtr(table)); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public RasterAttributeTable Clone() { IntPtr cPtr = GdalPINVOKE.RasterAttributeTable_Clone(swigCPtr); RasterAttributeTable ret = (cPtr == IntPtr.Zero) ? null : new RasterAttributeTable(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public RasterAttributeTable GetDefaultRAT() { IntPtr cPtr = GdalPINVOKE.Band_GetDefaultRAT(swigCPtr); RasterAttributeTable ret = (cPtr == IntPtr.Zero) ? null : new RasterAttributeTable(cPtr, false, ThisOwn_false()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static HandleRef getCPtrAndSetReference(RasterAttributeTable obj, object parent) { if (obj != null) { obj.swigParentRef = parent; return obj.swigCPtr; } else { return new HandleRef(null, IntPtr.Zero); } }
public static HandleRef getCPtrAndDisown(RasterAttributeTable 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(RasterAttributeTable obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public int SetDefaultRAT(RasterAttributeTable table) { int ret = GdalPINVOKE.Band_SetDefaultRAT(swigCPtr, RasterAttributeTable.getCPtr(table)); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static HandleRef getCPtr(RasterAttributeTable obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }