awips2/nativeLib/rary.cots.hdf5/ncsa/hdf/hdflib/HDFNBITCompInfo.java
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

48 lines
1.9 KiB
Java

/****************************************************************************
* NCSA HDF *
* National Comptational Science Alliance *
* University of Illinois at Urbana-Champaign *
* 605 E. Springfield, Champaign IL 61820 *
* *
* For conditions of distribution and use, see the accompanying *
* hdf-java/COPYING file. *
* *
****************************************************************************/
package ncsa.hdf.hdflib;
/**
* <p>
* This class is a container for the parameters to the HDF
* ``NBIT'' compression class.
* <p>
* In this case, the information needed is the number type,
* the sign extension, the fill bit, the start bit, and the
* number of bits to store.
* <p>
* For details of the HDF libraries, see the HDF Documentation at:
* <a href="http://hdf.ncsa.uiuc.edu">http://hdf.ncsa.uiuc.edu</a>
*/
public class HDFNBITCompInfo extends HDFNewCompInfo {
public int nt; /* number type of the data to encode */
public int sign_ext; /* whether to sign extend or not */
public int fill_one; /* whether to fill with 1's or 0's */
public int start_bit; /* offset of the start bit in the data */
public int bit_len; /* number of bits to store */
public HDFNBITCompInfo() {
ctype = HDFConstants.COMP_CODE_NBIT;
}
public HDFNBITCompInfo(
int Nt,
int Sign_ext,
int Fill_one,
int Start_bit,
int Bit_len) {
ctype = HDFConstants.COMP_CODE_NBIT;
}
}