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

#include <HDF4_DDS.h>

Inheritance diagram for HDF4DDS:
Inheritance graph
Collaboration diagram for HDF4DDS:
Collaboration graph

Public Member Functions

 HDF4DDS (const HDF4DDS &rhs)
 
 HDF4DDS (const libdap::DDS *ddsIn)
 
HDF4DDSoperator= (const HDF4DDS &rhs)
 
void setHDF4Dataset (const int sdfd_in, const int fileid_in)
 
void setHDF4Dataset (const int sdfd_in, const int fileid_in, const int gridfd_in, const int swathfd_in)
 

Detailed Description

This specialization of DDS is used to manage the 'resource' of the open HDF4 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 HDF4RequestHandler.cc to read data of HDF4 and HDF-EOS2 objects. when HDF4/HDF-EOS2 file IDs are opened to fetch information to build DDS and DAS, these file IDs are kept to access data. In this way, multiple file open/close calls can be reduced to speed up the access performance. This works well when using file netCDF module with an HDF-EOS2 or HDF4 file that have many variables. When the DDS is deleted by the BES, the HDF4DDS() destructor closes the file.

Definition at line 39 of file HDF4_DDS.h.

Constructor & Destructor Documentation

◆ HDF4DDS() [1/2]

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

Definition at line 55 of file HDF4_DDS.h.

◆ HDF4DDS() [2/2]

HDF4DDS::HDF4DDS ( const HDF4DDS & rhs)
inline

Definition at line 57 of file HDF4_DDS.h.

◆ ~HDF4DDS()

HDF4DDS::~HDF4DDS ( )
inline

Definition at line 72 of file HDF4_DDS.h.

Member Function Documentation

◆ operator=()

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

Definition at line 61 of file HDF4_DDS.h.

◆ setHDF4Dataset() [1/2]

void HDF4DDS::setHDF4Dataset ( const int sdfd_in,
const int fileid_in )
inline

Definition at line 94 of file HDF4_DDS.h.

◆ setHDF4Dataset() [2/2]

void HDF4DDS::setHDF4Dataset ( const int sdfd_in,
const int fileid_in,
const int gridfd_in,
const int swathfd_in )
inline

Definition at line 87 of file HDF4_DDS.h.


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