public bool Equals(ExtendedDataType other) { bool ret = GdalPINVOKE.ExtendedDataType_Equals(swigCPtr, ExtendedDataType.getCPtr(other)); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static EDTComponent Create(string name, uint offset, ExtendedDataType type) { IntPtr cPtr = GdalPINVOKE.EDTComponent_Create(name, offset, ExtendedDataType.getCPtr(type)); EDTComponent ret = (cPtr == IntPtr.Zero) ? null : new EDTComponent(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ExtendedDataType GetType_() { IntPtr cPtr = GdalPINVOKE.EDTComponent_GetType_(swigCPtr); ExtendedDataType ret = (cPtr == IntPtr.Zero) ? null : new ExtendedDataType(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ExtendedDataType Create(DataType dt) { IntPtr cPtr = GdalPINVOKE.ExtendedDataType_Create((int)dt); ExtendedDataType ret = (cPtr == IntPtr.Zero) ? null : new ExtendedDataType(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static HandleRef getCPtrAndSetReference(ExtendedDataType obj, object parent) { if (obj != null) { obj.swigParentRef = parent; return(obj.swigCPtr); } else { return(new HandleRef(null, IntPtr.Zero)); } }
public Attribute CreateAttribute(string name, int nDimensions, SWIGTYPE_p_GUIntBig dimensions, ExtendedDataType data_type, string[] options) { IntPtr cPtr = GdalPINVOKE.Group_CreateAttribute(swigCPtr, name, nDimensions, SWIGTYPE_p_GUIntBig.getCPtr(dimensions), ExtendedDataType.getCPtr(data_type), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Attribute ret = (cPtr == IntPtr.Zero) ? null : new Attribute(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static HandleRef getCPtr(ExtendedDataType obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }