Package gov.nasa.pds.objectAccess
Enum DataType.NumericDataType
- java.lang.Object
- 
- java.lang.Enum<DataType.NumericDataType>
- 
- gov.nasa.pds.objectAccess.DataType.NumericDataType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<DataType.NumericDataType>
 - Enclosing interface:
- DataType
 
 public static enum DataType.NumericDataType extends java.lang.Enum<DataType.NumericDataType> - Author:
- dcberrio Enumeration of numeric data types for tables and images. Includes fields for providing number of bits and vicar label aliases.
 
- 
- 
Enum Constant Summary
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()Get number of bits for the data type.java.lang.StringgetVicarAlias()Get VICAR alias for the data type.voidsetBits(int bits)Set number of bits for the data type.voidsetVicarAlias(java.lang.String vicarAlias)Set the VICAR alias for the data type.static DataType.NumericDataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataType.NumericDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SignedBytepublic static final DataType.NumericDataType SignedByte 
 - 
UnsignedBytepublic static final DataType.NumericDataType UnsignedByte 
 - 
SignedLSB2public static final DataType.NumericDataType SignedLSB2 
 - 
SignedLSB4public static final DataType.NumericDataType SignedLSB4 
 - 
SignedLSB8public static final DataType.NumericDataType SignedLSB8 
 - 
UnsignedLSB2public static final DataType.NumericDataType UnsignedLSB2 
 - 
UnsignedLSB4public static final DataType.NumericDataType UnsignedLSB4 
 - 
UnsignedLSB8public static final DataType.NumericDataType UnsignedLSB8 
 - 
SignedMSB2public static final DataType.NumericDataType SignedMSB2 
 - 
SignedMSB4public static final DataType.NumericDataType SignedMSB4 
 - 
SignedMSB8public static final DataType.NumericDataType SignedMSB8 
 - 
UnsignedMSB2public static final DataType.NumericDataType UnsignedMSB2 
 - 
UnsignedMSB4public static final DataType.NumericDataType UnsignedMSB4 
 - 
UnsignedMSB8public static final DataType.NumericDataType UnsignedMSB8 
 - 
IEEE754LSBSinglepublic static final DataType.NumericDataType IEEE754LSBSingle 
 - 
IEEE754LSBDoublepublic static final DataType.NumericDataType IEEE754LSBDouble 
 - 
IEEE754MSBSinglepublic static final DataType.NumericDataType IEEE754MSBSingle 
 - 
IEEE754MSBDoublepublic static final DataType.NumericDataType IEEE754MSBDouble 
 - 
ASCII_Integerpublic static final DataType.NumericDataType ASCII_Integer 
 - 
ASCII_Realpublic static final DataType.NumericDataType ASCII_Real 
 - 
ComplexLSB8public static final DataType.NumericDataType ComplexLSB8 
 - 
ComplexMSB8public static final DataType.NumericDataType ComplexMSB8 
 - 
ComplexLSB16public static final DataType.NumericDataType ComplexLSB16 
 - 
ComplexMSB16public static final DataType.NumericDataType ComplexMSB16 
 
- 
 - 
Method Detail- 
valuespublic static DataType.NumericDataType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataType.NumericDataType c : DataType.NumericDataType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DataType.NumericDataType valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getBitspublic int getBits() Get number of bits for the data type.- Returns:
- bits
 
 - 
setBitspublic void setBits(int bits) Set number of bits for the data type.- Parameters:
- bits- number of bits.
 
 - 
getVicarAliaspublic java.lang.String getVicarAlias() Get VICAR alias for the data type.- Returns:
- vicarAlias
 
 - 
setVicarAliaspublic void setVicarAlias(java.lang.String vicarAlias) Set the VICAR alias for the data type.- Parameters:
- vicarAlias-
 
 
- 
 
-