Hdf5ErrorHandlerObject Class Reference

The Hdf5ErrorHandlerObject 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 &org_args) const
void releaseResource (const Args &args, hid_t *pHandle) const

Classes

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


Detailed Description

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

The Hdf5ErrorHandlerObject is a trait object for use with the Resource template. It provides capability for setting and restoring a custom Hdf5 error handler.

Definition at line 853 of file Hdf5Resource.h.


Member Function Documentation

hid_t* Hdf5ErrorHandlerObject::obtainResource ( const Args org_args  )  const

Obtains an HDF5 group.

See Resource.h for details.

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

Definition at line 885 of file Hdf5Resource.h.

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

Releases an HDF5 group.

See Resource.h for details.

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

Definition at line 903 of file Hdf5Resource.h.


Software Development Kit - Opticks 4.9.0 Build 16218