public static void GribIndexWrite(SWIGTYPE_p_grib_index index, string filename) { int ret = GribApiProxyPINVOKE.GribIndexWrite(SWIGTYPE_p_grib_index.getCPtr(index), filename); if (ret != 0) { throw Grib.Api.Interop.GribApiException.Create(ret); } }
public static void GribIndexGetSize(SWIGTYPE_p_grib_index index, string key, ref SizeT size) { int ret = GribApiProxyPINVOKE.GribIndexGetSize(SWIGTYPE_p_grib_index.getCPtr(index), key, ref size.Value); if (ret != 0) { throw Grib.Api.Interop.GribApiException.Create(ret); } }
public static void GribIndexDelete(SWIGTYPE_p_grib_index index) { GribApiProxyPINVOKE.GribIndexDelete(SWIGTYPE_p_grib_index.getCPtr(index)); }
public static GribHandle GribHandleNewFromIndex(SWIGTYPE_p_grib_index index, out int err) { System.IntPtr pVal = GribApiProxyPINVOKE.GribHandleNewFromIndex(SWIGTYPE_p_grib_index.getCPtr(index), out err); return pVal == System.IntPtr.Zero ? null : new GribHandle(pVal); }
public static void GribIndexSelectString(SWIGTYPE_p_grib_index index, string key, string value) { int ret = GribApiProxyPINVOKE.GribIndexSelectString(SWIGTYPE_p_grib_index.getCPtr(index), key, value); if (ret != 0) { throw Grib.Api.Interop.GribApiException.Create(ret); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_grib_index obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_grib_index obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }