bes Updated for version 3.20.13
HDF5DMR Class Reference

#include <HDF5_DMR.h>

Collaboration diagram for HDF5DMR:
Collaboration graph

Public Member Functions

 HDF5DMR (const HDF5DMR &rhs)
 
 HDF5DMR (libdap::D4BaseTypeFactory *factory, const string &name)
 
 HDF5DMR (libdap::DMR *dmr)
 
HDF5DMRoperator= (const HDF5DMR &rhs)
 
void setHDF5Dataset (const hid_t fileid_in)
 

Detailed Description

Keep the old comments from GDAL handler. Need to clean up this later. KY 2022-05-16 This specialization of DMR 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 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 DMR is deleted by the BES, the HDF5DMR() destructor closes the file.

Todo:
Change DataDMR to DMR 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 DMR and DataDMR responses work the same way.

Definition at line 37 of file HDF5_DMR.h.

Constructor & Destructor Documentation

◆ HDF5DMR() [1/3]

HDF5DMR::HDF5DMR ( libdap::DMR *  dmr)
inlineexplicit

Definition at line 47 of file HDF5_DMR.h.

◆ HDF5DMR() [2/3]

HDF5DMR::HDF5DMR ( libdap::D4BaseTypeFactory *  factory,
const string &  name 
)
inline

Definition at line 48 of file HDF5_DMR.h.

◆ HDF5DMR() [3/3]

HDF5DMR::HDF5DMR ( const HDF5DMR rhs)
inline

Definition at line 50 of file HDF5_DMR.h.

◆ ~HDF5DMR()

HDF5DMR::~HDF5DMR ( )
inlineoverride

Definition at line 69 of file HDF5_DMR.h.

Member Function Documentation

◆ operator=()

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

Definition at line 54 of file HDF5_DMR.h.

◆ setHDF5Dataset()

void HDF5DMR::setHDF5Dataset ( const hid_t  fileid_in)
inline

Definition at line 76 of file HDF5_DMR.h.


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