#include <Hdf4ImporterShell.h>

Protected Member Functions | |
| Hdf4ImporterShell () | |
| virtual bool | getFileData (Hdf4File &hdfFile) const |
| void * | loadDatasetFromFile (const Hdf4File &hdfFile, const Hdf4Dataset &dataset) const |
The HDF4 Importer Shell is a class designed to wrap the HDF4 libraries and provide a convenient means of importing simple (header, metadata, 1 cube) HDF4 data. The shell class is highly customizable, but to use these features requires (a) downloading the HDF4 v4.2r1 precompiled libraries from *
To link a derived plugin under Windows, link to hm421md.lib/hd421md.lib (DEBUG) or hm421m.lib/hd421m.lib (RELEASE). To link a derived plugin under Solaris, link to libmfhdf.a, libdf.a, libjpeg.a, and libudport.a.
Definition at line 38 of file Hdf4ImporterShell.h.
| Hdf4ImporterShell::Hdf4ImporterShell | ( | ) | [protected] |
Constructs the Hdf4ImporterShell object to load file data in HDF Version 4 format.
| virtual bool Hdf4ImporterShell::getFileData | ( | Hdf4File & | hdfFile | ) | const [protected, virtual] |
Populates a representation of the HDF File.
| hdfFile | An EMPTY Hdf4File object to populate. |
| void* Hdf4ImporterShell::loadDatasetFromFile | ( | const Hdf4File & | hdfFile, | |
| const Hdf4Dataset & | dataset | |||
| ) | const [protected] |
Loads entire Hdf4Dataset into the studio's memory block and returns the pointer to it.
Calls ModelServices::getMemoryBlock() to fetch the memory.
| hdfFile | A const reference to the Hdf4File that contains the dataset to load into memory. | |
| dataset | The dataset to load into memory from the Hdf4File. |