bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5DDS Class Reference

#include <HDF5_DDS.h>

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

Public Member Functions

 HDF5DDS (const HDF5DDS &rhs)
 
 HDF5DDS (const libdap::DDS *ddsIn)
 
HDF5DDSoperator= (const HDF5DDS &rhs)
 
void setHDF5Dataset (const hid_t fileid_in)
 

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 37 of file HDF5_DDS.h.

Constructor & Destructor Documentation

◆ HDF5DDS() [1/2]

HDF5DDS::HDF5DDS ( const libdap::DDS * ddsIn)
inlineexplicit

Definition at line 47 of file HDF5_DDS.h.

◆ HDF5DDS() [2/2]

HDF5DDS::HDF5DDS ( const HDF5DDS & rhs)
inline

Definition at line 49 of file HDF5_DDS.h.

◆ ~HDF5DDS()

HDF5DDS::~HDF5DDS ( )
inlineoverride

Definition at line 64 of file HDF5_DDS.h.

Member Function Documentation

◆ operator=()

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

Definition at line 53 of file HDF5_DDS.h.

◆ setHDF5Dataset()

void HDF5DDS::setHDF5Dataset ( const hid_t fileid_in)
inline

Definition at line 72 of file HDF5_DDS.h.


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