Ejemplo n.º 1
0
  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);
	}
  }
Ejemplo n.º 2
0
  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);
	}
  }
Ejemplo n.º 3
0
 public static void GribIndexDelete(SWIGTYPE_p_grib_index index) {
   GribApiProxyPINVOKE.GribIndexDelete(SWIGTYPE_p_grib_index.getCPtr(index));
 }
Ejemplo n.º 4
0
  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);
	}
Ejemplo n.º 5
0
  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);
	}
  }
Ejemplo n.º 6
0
 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);
 }
Ejemplo n.º 7
0
 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;
 }