OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDF5DDS Class Reference

This specialization of DDS is used to manage the 'resource' of the open HDF5 dataset handle so that the BES will close that handle once the framework is done working with the file. More...

#include <HDF5_DDS.h>

Inheritance diagram for HDF5DDS:
Inheritance graph
Collaboration diagram for HDF5DDS:
Collaboration graph

Public Member Functions

 HDF5DDS (DataDDS *ddsIn)
 
 HDF5DDS (const HDF5DDS &rhs)
 
HDF5DDSoperator= (const HDF5DDS &rhs)
 
void setHDF5Dataset (const hid_t fileid_in)
 
 ~HDF5DDS ()
 

Detailed Description

This specialization of DDS is used to manage the 'resource' of the open HDF5 dataset handle so that the BES will close that handle once the framework is done working with the file.

This provides a way for the code in gdal_dds.cc to read binary objects from the file using the gdal library and embed those in instances of Grid. Those Grid variables are used later on (but during the same service request, so the binary data are still valid). When the DDS is deleted by the BES, the HDF5DDS() destructor closes the file.

Todo:
Change DataDDS to DDS if we can... Doing that will enable the handler to use this to close the library using this class. That is not strictly needed, but it would make both the DDS and DataDDS responses work the same way.

Definition at line 38 of file HDF5_DDS.h.

Constructor & Destructor Documentation

HDF5DDS::HDF5DDS ( DataDDS *  ddsIn)
inline

Definition at line 48 of file HDF5_DDS.h.

HDF5DDS::HDF5DDS ( const HDF5DDS rhs)
inline

Definition at line 50 of file HDF5_DDS.h.

HDF5DDS::~HDF5DDS ( )
inline

Definition at line 63 of file HDF5_DDS.h.

Member Function Documentation

HDF5DDS& HDF5DDS::operator= ( const HDF5DDS rhs)
inline

Definition at line 54 of file HDF5_DDS.h.

void HDF5DDS::setHDF5Dataset ( const hid_t  fileid_in)
inline

The documentation for this class was generated from the following file: