Hdf5AttributeObject Class Reference

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

Classes

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


Detailed Description

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

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

Definition at line 396 of file Hdf5Resource.h.


Member Function Documentation

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

Obtains an HDF5 attribute.

See Resource.h for details.

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

Definition at line 423 of file Hdf5Resource.h.

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

Releases an HDF5 attribute.

See Resource.h for details.

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

Definition at line 438 of file Hdf5Resource.h.


Software Development Kit - Opticks 4.9.0 Build 16218