trait Hdf5IOHandler[T <: HasIOMetadata] extends AnyRef

Trait providing methods for serializing/deserializing objects of type T to/from HDF5 files.

T

the type of objects which can be constructed from the information present in HDF5 files, and saved into such files.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hdf5IOHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def load(meta: IOMetadata, h5File: HDF5File, h5Group: Group): Try[T]

    Load (instantiate) an object of type T from the information in an HDF5 file.

    Load (instantiate) an object of type T from the information in an HDF5 file. The IO metadata present in the file, as well as the file and group with the file, are provided as arguments, so that implementations can read additional data that might be required for correct object instantiation.

    meta

    IO Metadata about the concrete implementation, as present in the HDF5 file.

    h5File

    the HDF5 file containing the information about the object to be constructed.

    h5Group

    the HDF5 group containing the information about the object to be constructed.

    returns

    an object of type T corresponding to the provided IO metadata and initialized according to the information present in the file (wrapped in a Success]), or a Failure indicating the cause of the failure

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def save(t: T, h5File: HDF5File, h5Group: Group): Try[Unit]

    Save all required information about an object to an HDF5 file, so that the object can later be reconstructed using the Hdf5IOHandler.load method.

    Save all required information about an object to an HDF5 file, so that the object can later be reconstructed using the Hdf5IOHandler.load method. Note that implementations do not need to care about saving the object's IO metadata, as this is taken care of by the framework. Thus, if the object to be stored does not require any further parameterization, this method does not need to be overridden (there is a default no-op implementation). Otherwise, it is strongly advised to follow these rules in the implementation:

    - Do not write data anywhere except in the provided group (or subgroups thereof). In other words, do not store data in parent of sibling groups of h5Group. - Do not store attributes directly attached to h5Group, as they might clash with the attributes used internally by the framework. - There are no further limitations, i.e., you are free to create values and subgroups, or anything else, in h5Grouph5Group itself.

    t

    the object about which information is to be stored.

    h5File

    the HDF5 file to save the information to.

    h5Group

    the group under which to save the information in the HDF5 file.

    returns

    Success or Failure

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped