Documentation of 'visad.data.hdf5.hdf5objects.HDF5Object' Java class
HDF5Object
visad.data.hdf5.hdf5objects

Class HDF5Object

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    HDF5Dataset, HDF5Dataspace, HDF5Datatype, HDF5File, HDF5Group


    public class HDF5Object
    extends java.lang.Object
    implements java.io.Serializable
    HDF5Object is an HDF5Object which is the super class of all the HDF5 objects. Each HDF5 object inherits all the methods and fields of the HDF5Object and may override inherited methods.

    HDF5 files are organized in a hierarchical structure, with two primary structures (or objects): groups and datasets.

        HDF5Group: a grouping structure containing instances of zero or more
             groups or datasets, together with supporting metadata.
        HDF5Dataset: a multidimensional array of data elements, together with
             supporting metadata.
      
    Other HDF5 objects include
    • HDF5Attribute: small datasets to be attached to primary datasets as metadata information.
    • HDF5Dataspace: a dataspace describes the locations that dataset elements are located at.
    • HDF5Datatype: a data type is a collection of data type properties.
    • HDF5Propertylist: a property list is a collection of name/value pairs which can be passed to various other HDF5 functions.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int ATTRIBUTE 
      static int DATASET
      Object is a dataset
      static int DATASPACE 
      static int DATATYPE 
      static int GROUP
      Object is a group
      static int HDF5FILE 
      static int LINK
      Object is a symbolic link
      static int UNKNOWN
      Unknown object type
    • Constructor Summary

      Constructors 
      Constructor and Description
      HDF5Object()
      construct an HDF5 object with defaults
      HDF5Object(java.lang.String objName)
      cosntruct an HDF5Object object name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDescription()
      Returns the description of the HDF5Object
      int getID()
      Returns the identifier of the HDF5Object
      java.lang.String getName()
      Returns the full name of the HDF5Object
      java.lang.String getShortName()
      Returns the short name of the HDF5Object
      int getType()
      Returns the type of the object
      void init()
      initialize the HDF5Object: open the HDF5 library.
      void setID(int new_id)
      reset the HDF5Object for a given id
      void setShortName(java.lang.String sname)
      Sets the short name of the HDF5Object
      void setType(int t)
      Sets the type of the object
      java.lang.String toString()
      Converts this object to a String representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HDF5Object

        public HDF5Object()
        construct an HDF5 object with defaults
      • HDF5Object

        public HDF5Object(java.lang.String objName)
        cosntruct an HDF5Object object name
        Parameters:
        objName - the name of the HDF5 data object
    • Method Detail

      • init

        public void init()
                  throws ncsa.hdf.hdf5lib.exceptions.HDF5Exception
        initialize the HDF5Object: open the HDF5 library. A subclass of HDF5Object should override this method if it has initialization to perform.
        Throws:
        ncsa.hdf.hdf5lib.exceptions.HDF5Exception
      • setID

        public void setID(int new_id)
                   throws ncsa.hdf.hdf5lib.exceptions.HDF5Exception
        reset the HDF5Object for a given id
        Parameters:
        new_id - the id of the object
        Throws:
        ncsa.hdf.hdf5lib.exceptions.HDF5Exception
      • setShortName

        public void setShortName(java.lang.String sname)
        Sets the short name of the HDF5Object
      • getType

        public int getType()
        Returns the type of the object
      • setType

        public void setType(int t)
        Sets the type of the object
      • getName

        public java.lang.String getName()
        Returns the full name of the HDF5Object
      • getShortName

        public java.lang.String getShortName()
        Returns the short name of the HDF5Object
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the HDF5Object
      • getID

        public int getID()
        Returns the identifier of the HDF5Object
      • toString

        public java.lang.String toString()
        Converts this object to a String representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.