HdfUtilities::Hdf4FileObject Class Reference

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

#include <Hdf4Utilities.h>

List of all members.

Public Member Functions

int32 * obtainResource (const Args &args) const
void releaseResource (const Args &args, int32 *pHandle) const

Classes

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


Detailed Description

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

It provides capability for opening and closing HDF4 files.

See also:
FileResource

Definition at line 98 of file Hdf4Utilities.h.


Member Function Documentation

int32* HdfUtilities::Hdf4FileObject::obtainResource ( const Args args  )  const

Obtains an HDF4 file handle.

See Resource.h for details.

Parameters:
args The arguments for obtaining the resource. Should be of type Hdf4FileObject::Args.
Returns:
Returns a pointer to a handle of the dataset.

void HdfUtilities::Hdf4FileObject::releaseResource ( const Args args,
int32 *  pHandle 
) const

Releases an HDF4 file handle.

See Resource.h for details.

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


Software Development Kit - Opticks 4.9.0 Build 16218