# Uses of Class
hdf.object.Datatype

Packages that use Datatype
Package
Description
hdf.object
hdf.object.fits
hdf.object.h4
hdf.object.h5
hdf.object.nc2
hdf.view.dialog
hdf.view.TableView

- ## Uses of Datatype in hdf.object

  Fields in hdf.object declared as Datatype
  Modifier and Type
  Field
  Description
  `protected Datatype`
  Datatype.`baseType`
  The base datatype of this datatype (null if this datatype is atomic).
  `protected Datatype`
  Dataset.`datatype`
  The datatype object of the dataset.
  `protected Datatype[]`
  CompoundDS.`memberTypes`
  The datatypes of compound members.
  Fields in hdf.object with type parameters of type Datatype
  Modifier and Type
  Field
  Description
  `protected List<Datatype>`
  Datatype.`compoundMemberTypes`
  The list of types of members of a compound Datatype.
  `protected List<Datatype>`
  CompoundDS.`flatTypeList`
  A list of datatypes of all fields including nested fields.
  Methods in hdf.object that return Datatype
  Modifier and Type
  Method
  Description
  `abstract Datatype`
  FileFormat.`createDatatype(int tclass, int tsize, int torder, int tsign)`
  Creates a new datatype in memory.
  `Datatype`
  FileFormat.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  Creates a new datatype in memory.
  `Datatype`
  FileFormat.`createNamedDatatype(Datatype tnative, String name)`
  Creates a named datatype in a file.
  `Datatype`
  Attribute.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `Datatype`
  DataFormat.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  Dataset.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  Datatype.`getDatatypeBase()`
  Returns the base datatype for this datatype.
  `Datatype[]`
  CompoundDataFormat.`getMemberTypes()`
  Returns an array of datatype objects of the compound members.
  `final Datatype[]`
  CompoundDS.`getMemberTypes()`
  Returns an array of datatype objects of compound members.
  `Datatype[]`
  CompoundDataFormat.`getSelectedMemberTypes()`
  Returns an array of datatype objects of the selected compound members.
  `final Datatype[]`
  CompoundDS.`getSelectedMemberTypes()`
  Returns an array of datatype objects of selected compound members.
  Methods in hdf.object that return types with arguments of type Datatype
  Modifier and Type
  Method
  Description
  `final List<Datatype>`
  Datatype.`getCompoundMemberTypes()`
  Returns member types of a Compound Datatype.
  Methods in hdf.object with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `protected Object`
  CompoundDS.`convertByteMember(Datatype dtype, byte[] byteData)`
  Routine to convert datatypes that are read in as byte arrays to regular types.
  `protected Object`
  CompoundDS.`convertCompoundByteMembers(Datatype dtype, byte[] data)`
  Given an array of bytes representing a compound Datatype, converts each of its members into Objects and returns the results.
  `Dataset`
  FileFormat.`createCompoundDS(String name, Group pgroup, long[] dims, long[] maxdims, long[] chunks, int gzip, String[] memberNames, Datatype[] memberDatatypes, int[] memberSizes, Object data)`
  Creates a new compound dataset in a file with/without chunking and compression.
  `final Dataset`
  FileFormat.`createCompoundDS(String name, Group pgroup, long[] dims, String[] memberNames, Datatype[] memberDatatypes, int[] memberSizes, Object data)`
  Deprecated.
  As of 2.4, replaced by `FileFormat.createCompoundDS(String, Group, long[], long[], long[], int, String[], Datatype[], int[], Object)` The replacement method has additional parameters: `maxdims, chunks,` and `gzip`.
  `Datatype`
  FileFormat.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  Creates a new datatype in memory.
  `abstract Dataset`
  FileFormat.`createImage(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int interlace, Object data)`
  Creates a new image in a file.
  `Datatype`
  FileFormat.`createNamedDatatype(Datatype tnative, String name)`
  Creates a named datatype in a file.
  `Dataset`
  FileFormat.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data)`
  Creates a new dataset in a file with/without chunking/compression.
  `abstract Dataset`
  FileFormat.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Creates a new dataset in a file with/without chunking/compression.
  `protected String`
  Dataset.`toString(Object theData, Datatype theType, String delimiter, int count)`
  Constructors in hdf.object with parameters of type Datatype
  Modifier
  Constructor
  Description
  ``
  `Datatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  Constructs a Datatype with specified class, size, byte order and sign.
  ``
  `Datatype(int tclass, int tsize, int torder, int tsign, Datatype tbase, Datatype pbase)`
  Constructs a Datatype with specified class, size, byte order and sign.
  ``
  `Datatype(FileFormat theFile, int tclass, int tsize, int torder, int tsign, Datatype tbase, Datatype pbase)`
  Constructs a Datatype with specified class, size, byte order and sign.
  ``
  `Datatype(FileFormat theFile, long tid, Datatype pbase)`
  Constructs a Datatype with a given native datatype identifier.

- ## Uses of Datatype in hdf.object.fits

  Subclasses of Datatype in hdf.object.fits
  Modifier and Type
  Class
  Description
  `class`
  `FitsDatatype`
  Datatype encapsulates information of a datatype.
  Methods in hdf.object.fits that return Datatype
  Modifier and Type
  Method
  Description
  `Datatype`
  FitsFile.`createDatatype(int tclass, int tsize, int torder, int tsign)`
  `Datatype`
  FitsFile.`createNamedDatatype(Datatype tnative, String name)`
  `final Datatype`
  FitsAttribute.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `Datatype`
  FitsDataset.`getDatatype()`
  Returns the datatype of the data object.
  Methods in hdf.object.fits with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `static FitsDataset`
  FitsDataset.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data)`
  Creates a new dataset.
  `Dataset`
  FitsFile.`createImage(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int intelace, Object data)`
  `Datatype`
  FitsFile.`createNamedDatatype(Datatype tnative, String name)`
  `Dataset`
  FitsFile.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Constructors in hdf.object.fits with parameters of type Datatype
  Modifier
  Constructor
  Description
  ``
  `FitsAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `FitsAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.

- ## Uses of Datatype in hdf.object.h4

  Subclasses of Datatype in hdf.object.h4
  Modifier and Type
  Class
  Description
  `class`
  `H4Datatype`
  This class defines HDF4 data type characteristics and APIs for a data type.
  Methods in hdf.object.h4 that return Datatype
  Modifier and Type
  Method
  Description
  `Datatype`
  H4File.`createDatatype(int tclass, int tsize, int torder, int tsign)`
  `Datatype`
  H4File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Datatype`
  H4File.`createNamedDatatype(Datatype tnative, String name)`
  `final Datatype`
  H4CompoundAttribute.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `final Datatype`
  H4ScalarAttribute.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `Datatype`
  H4GRImage.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  H4SDS.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  H4Vdata.`getDatatype()`
  Returns the datatype of the data object.
  Methods in hdf.object.h4 with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `static H4GRImage`
  H4GRImage.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int interlace, Object data)`
  Creates a new image.
  `static H4SDS`
  H4SDS.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data)`
  Creates a new dataset.
  `static H4SDS`
  H4SDS.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Creates a new dataset.
  `Datatype`
  H4File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Dataset`
  H4File.`createImage(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int interlace, Object data)`
  `Datatype`
  H4File.`createNamedDatatype(Datatype tnative, String name)`
  `Dataset`
  H4File.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Constructors in hdf.object.h4 with parameters of type Datatype
  Modifier
  Constructor
  Description
  ``
  `H4CompoundAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `H4CompoundAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.
  ``
  `H4ScalarAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `H4ScalarAttribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.

- ## Uses of Datatype in hdf.object.h5

  Subclasses of Datatype in hdf.object.h5
  Modifier and Type
  Class
  Description
  `class`
  `H5Datatype`
  This class defines HDF5 datatype characteristics and APIs for a data type.
  `class`
  `H5ReferenceType`
  This class defines HDF5 reference characteristics and APIs for a data type of H5T_STD_REF.
  Methods in hdf.object.h5 that return Datatype
  Modifier and Type
  Method
  Description
  `Datatype`
  H5File.`createDatatype(int tclass, int tsize, int torder, int tsign)`
  Methods related to Datatypes and HObjects in HDF5 Files.
  `Datatype`
  H5File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Datatype`
  H5File.`createNamedDatatype(Datatype tnative, String name)`
  Creates a named datatype in a file.
  `final Datatype`
  H5CompoundAttr.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `final Datatype`
  H5ScalarAttr.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `Datatype`
  H5CompoundAttr.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  H5CompoundDS.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  H5ScalarAttr.`getDatatype()`
  Returns the datatype of the data object.
  `Datatype`
  H5ScalarDS.`getDatatype()`
  Returns the datatype of the data object.
  Methods in hdf.object.h5 with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `protected Object`
  H5CompoundAttr.`convertByteMember(Datatype dtype, byte[] byteData)`
  `protected Object`
  H5CompoundDS.`convertByteMember(Datatype dtype, byte[] byteData)`
  `static Dataset`
  H5CompoundDS.`create(String name, Group pgroup, long[] dims, long[] maxdims, long[] chunks, int gzip, String[] memberNames, Datatype[] memberDatatypes, int[] memberRanks, long[][] memberDims, Object data)`
  Creates a simple compound dataset in a file with/without chunking and compression.
  `static Dataset`
  H5CompoundDS.`create(String name, Group pgroup, long[] dims, String[] memberNames, Datatype[] memberDatatypes, int[] memberRanks, long[][] memberDims, Object data)`
  Deprecated.
  Not for public use in the future.
  `static Dataset`
  H5CompoundDS.`create(String name, Group pgroup, long[] dims, String[] memberNames, Datatype[] memberDatatypes, int[] memberSizes, Object data)`
  Deprecated.
  Not for public use in the future.
  `static Dataset`
  H5ScalarDS.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data)`
  Creates a scalar dataset in a file with/without chunking and compression.
  `static Dataset`
  H5ScalarDS.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Creates a scalar dataset in a file with/without chunking and compression.
  `Dataset`
  H5File.`createCompoundDS(String name, Group pgroup, long[] dims, long[] maxdims, long[] chunks, int gzip, String[] memberNames, Datatype[] memberDatatypes, int[] memberSizes, Object data)`
  `Datatype`
  H5File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Dataset`
  H5File.`createImage(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int interlace, Object data)`
  `Datatype`
  H5File.`createNamedDatatype(Datatype tnative, String name)`
  Creates a named datatype in a file.
  `Dataset`
  H5File.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  `protected String`
  H5CompoundAttr.`toString(Object theData, Datatype theType, String delimiter, int count)`
  `protected String`
  H5ScalarAttr.`toString(Object theData, Datatype theType, String delimiter, int count)`
  Constructors in hdf.object.h5 with parameters of type Datatype
  Modifier
  Constructor
  Description
  ``
  `H5CompoundAttr(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `H5CompoundAttr(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.
  ``
  `H5Datatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  Constructs a Datatype with specified class, size, byte order and sign.
  ``
  `H5Datatype(int tclass, int tsize, int torder, int tsign, Datatype tbase, Datatype pbase)`
  Constructs a Datatype with specified class, size, byte order and sign.
  ``
  `H5Datatype(FileFormat theFile, long nativeID, Datatype pbase)`
  Constructs a Datatype with a given native datatype identifier.
  ``
  `H5ReferenceType(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  Constructs a H5ReferenceType with specified class, size, byte order and sign.
  ``
  `H5ReferenceType(int tclass, int tsize, int torder, int tsign, Datatype tbase, Datatype pbase)`
  Constructs a H5ReferenceType with specified class, size, byte order and sign.
  ``
  `H5ReferenceType(FileFormat theFile, long theSize, long nativeID, Datatype pbase)`
  Constructs a H5ReferenceType with a given native datatype identifier.
  ``
  `H5ScalarAttr(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `H5ScalarAttr(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.

- ## Uses of Datatype in hdf.object.nc2

  Subclasses of Datatype in hdf.object.nc2
  Modifier and Type
  Class
  Description
  `class`
  `NC2Datatype`
  Datatype encapsulates information of a datatype.
  Methods in hdf.object.nc2 that return Datatype
  Modifier and Type
  Method
  Description
  `Datatype`
  NC2File.`createDatatype(int tclass, int tsize, int torder, int tsign)`
  `Datatype`
  NC2File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Datatype`
  NC2File.`createNamedDatatype(Datatype tnative, String name)`
  `final Datatype`
  NC2Attribute.`getAttributeDatatype()`
  Returns the datatype of the attribute.
  `Datatype`
  NC2Dataset.`getDatatype()`
  Returns the datatype of the data object.
  Methods in hdf.object.nc2 with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `static NC2Dataset`
  NC2Dataset.`create(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data)`
  Creates a new dataset.
  `Datatype`
  NC2File.`createDatatype(int tclass, int tsize, int torder, int tsign, Datatype tbase)`
  `Dataset`
  NC2File.`createImage(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, int ncomp, int intelace, Object data)`
  `Datatype`
  NC2File.`createNamedDatatype(Datatype tnative, String name)`
  `Dataset`
  NC2File.`createScalarDS(String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object fillValue, Object data)`
  Constructors in hdf.object.nc2 with parameters of type Datatype
  Modifier
  Constructor
  Description
  ``
  `NC2Attribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims)`
  Create an attribute with specified name, data type and dimension sizes.
  ``
  `NC2Attribute(HObject parentObj, String attrName, Datatype attrType, long[] attrDims, Object attrValue)`
  Create an attribute with specific name and value.

- ## Uses of Datatype in hdf.view.dialog

  Fields in hdf.view.dialog with type parameters of type Datatype
  Modifier and Type
  Field
  Description
  `protected List<Datatype>`
  NewDataObjectDialog.`namedList`
  The list of datatypes for the object
  Methods in hdf.view.dialog that return Datatype
  Modifier and Type
  Method
  Description
  `Datatype`
  NewDataObjectDialog.`createNewDatatype(String name)`
  Create the datatype according to the settings.
  `Datatype`
  NewDatatypeDialog.`createNewDatatype()`
  Create the datatype specified by the settings.

- ## Uses of Datatype in hdf.view.TableView

  Methods in hdf.view.TableView that return types with arguments of type Datatype
  Modifier and Type
  Method
  Description
  `static List<Datatype>`
  DataFactoryUtils.`filterNonSelectedMembers(CompoundDataFormat dataFormat, Datatype compoundType)`
  Given a CompoundDataFormat, as well as a compound datatype, removes the non-selected datatypes from the List of datatypes inside the compound datatype and returns that as a new List.
  Methods in hdf.view.TableView with parameters of type Datatype
  Modifier and Type
  Method
  Description
  `static List<Datatype>`
  DataFactoryUtils.`filterNonSelectedMembers(CompoundDataFormat dataFormat, Datatype compoundType)`
  Given a CompoundDataFormat, as well as a compound datatype, removes the non-selected datatypes from the List of datatypes inside the compound datatype and returns that as a new List.
  Method parameters in hdf.view.TableView with type arguments of type Datatype
  Modifier and Type
  Method
  Description
  `static HashMap<Integer,Integer>[]`
  DataFactoryUtils.`buildIndexMaps(CompoundDataFormat dataFormat, List<Datatype> localSelectedTypes)`
  build the index maps compound types.
  Constructors in hdf.view.TableView with parameters of type Datatype
  Modifier
  Constructor
  Description
  `(package private)`
  `HDFDataProvider(Datatype dtype, Object dataBuf, boolean dataTransposed)`
  Create the HDF extended Data Display Provider for the supplied data object
  `(package private)`
  `HDFDataValidator(Datatype dtype)`
  Create the HDF extended Data Validator for the datatype object
  `(package private)`
  `HDFDisplayConverter(Datatype dtype)`
  create a HDF data converter