#include <Hdf4Utilities.h>

Public Member Functions | |
| Hdf4FileResource (const char *pFilename, int32 access=DFACC_READ) | |
| operator int32 * () | |
It has a conversion operator to allow an Hdf4FileResource object to be used where ever a int32* file handle would normally be used.
see Hdf4DatasetResource for code examples.
Definition at line 166 of file Hdf4Utilities.h.
| HdfUtilities::Hdf4FileResource::Hdf4FileResource | ( | const char * | pFilename, | |
| int32 | access = DFACC_READ | |||
| ) |
Creates a resource to an HDF4 file handle.
Auto-closes file when the object goes out of scope.
| pFilename | The name of the file to open. | |
| access | Optional argument for how to access the file (DFACC_READ, DFACC_WRITE, DFACC_CREATE, DFACC_ALL). |
Definition at line 180 of file Hdf4Utilities.h.
| HdfUtilities::Hdf4FileResource::operator int32 * | ( | ) |
Allows for implict conversion of this resource type to an int32*.
Definition at line 190 of file Hdf4Utilities.h.