Hdf5TypeObject Class Reference

The Hdf5TypeObject is a trait object for use with the Resource template. More...

#include <Hdf5Resource.h>

List of all members.

Public Member Functions

hid_t * obtainResource (const Args &args) const
void closeResourceRecursive (hid_t handle) const
void releaseResource (const Args &args, hid_t *pHandle) const

Classes

struct  Args
 This is an implementation detail of the Hdf5TypeObject class. More...


Detailed Description

The Hdf5TypeObject is a trait object for use with the Resource template.

The Hdf5TypeObject is a trait object for use with the Resource template. It provides capability for closing HDF5 types.

Definition at line 504 of file Hdf5Resource.h.


Member Function Documentation

hid_t* Hdf5TypeObject::obtainResource ( const Args args  )  const

Obtains an HDF5 type.

See Resource.h for details.

Parameters:
args The arguments for obtaining the resource. Should be of type Hdf5TypeObject::Args.
Returns:
Returns NULL

Definition at line 531 of file Hdf5Resource.h.

void Hdf5TypeObject::closeResourceRecursive ( hid_t  handle  )  const

Closes an open HDF5 type.

If the given type is a compound dataset, the close will be recursive on all of the member types.

Parameters:
handle The open HDF5 type to close.

Definition at line 545 of file Hdf5Resource.h.

void Hdf5TypeObject::releaseResource ( const Args args,
hid_t *  pHandle 
) const

Releases an HDF5 type.

See Resource.h for details.

Parameters:
args The arguments for releasing the resource. Should be of type Hdf5TypeObject::Args.
pHandle A pointer to the handle to be freed.

Definition at line 570 of file Hdf5Resource.h.


Software Development Kit - Opticks 4.9.0 Build 16218