package gov.noaa.nws.ncep.ui.nsharp.natives; import com.sun.jna.Structure; import com.sun.jna.Pointer; /** * native declaration : line 1
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java, Rococoa, or JNA. */ public class sndg_struct extends Structure{ public int numlev; /// C type : sndg_parms[500] public Pointer sndg; public int origlev; /// C type : sndg_parms[500] public Pointer orig; public int ovrlev; /// C type : sndg_parms[500] public Pointer ovrl; public float st_dir; public float st_spd; /// Conversion Error : _lplvalues /// C type : char[80] public byte[] title = new byte[(80)]; public sndg_struct() { super(); } /** * @param sndg C type : sndg_parms[500]
* @param orig C type : sndg_parms[500]
* @param ovrl C type : sndg_parms[500]
* @param title C type : char[80] */ public sndg_struct(int numlev, Pointer sndg, int origlev, Pointer orig, int ovrlev, Pointer ovrl, float st_dir, float st_spd, byte title[]) { super(); this.numlev = numlev; this.sndg = sndg; this.origlev = origlev; this.orig = orig; this.ovrlev = ovrlev; this.ovrl = ovrl; this.st_dir = st_dir; this.st_spd = st_spd; if (title.length != this.title.length) throw new java.lang.IllegalArgumentException("Wrong array size !"); this.title = title; } protected ByReference newByReference() { return new ByReference(); } protected ByValue newByValue() { return new ByValue(); } protected sndg_struct newInstance() { return new sndg_struct(); } public static class ByReference extends sndg_struct implements Structure.ByReference { } public static class ByValue extends sndg_struct implements Structure.ByValue { } }