awips2/ncep/gov.noaa.nws.ncep.ui.nsharp/TEMP/sndg_struct.java
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

58 lines
No EOL
2.1 KiB
Java

package gov.noaa.nws.ncep.ui.nsharp.natives;
import com.sun.jna.Structure;
import com.sun.jna.Pointer;
/**
* <i>native declaration : line 1</i><br>
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool written by <a href="http://ochafik.free.fr/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
* For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a>, <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
*/
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]<br>
* @param orig C type : sndg_parms[500]<br>
* @param ovrl C type : sndg_parms[500]<br>
* @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 {
}
}