bes Updated for version 3.20.13
HDF4DMR Class Reference

#include <HDF4_DMR.h>

Collaboration diagram for HDF4DMR:
Collaboration graph

Public Member Functions

 HDF4DMR (const HDF4DMR &rhs)
 
 HDF4DMR (libdap::D4BaseTypeFactory *factory, const string &name)
 
 HDF4DMR (libdap::DMR *dmr)
 
HDF4DMRoperator= (const HDF4DMR &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 DMR is used to manage the 'resource' of the open HDF4 file 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 DMR is deleted by the BES, the HDF4DMR() destructor closes the file.

Definition at line 39 of file HDF4_DMR.h.

Constructor & Destructor Documentation

◆ HDF4DMR() [1/3]

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

Definition at line 55 of file HDF4_DMR.h.

◆ HDF4DMR() [2/3]

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

Definition at line 56 of file HDF4_DMR.h.

◆ HDF4DMR() [3/3]

HDF4DMR::HDF4DMR ( const HDF4DMR rhs)
inline

Definition at line 58 of file HDF4_DMR.h.

◆ ~HDF4DMR()

HDF4DMR::~HDF4DMR ( )
inline

Definition at line 75 of file HDF4_DMR.h.

Member Function Documentation

◆ operator=()

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

Definition at line 62 of file HDF4_DMR.h.

◆ setHDF4Dataset() [1/2]

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

Definition at line 97 of file HDF4_DMR.h.

◆ setHDF4Dataset() [2/2]

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

Definition at line 90 of file HDF4_DMR.h.


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