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

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

#include <GDAL_DDS.h>

Inheritance diagram for GDALDDS:
Inheritance graph
Collaboration diagram for GDALDDS:
Collaboration graph

Public Member Functions

GDALDatasetH & GDALDataset ()
 
 GDALDDS (DataDDS *ddsIn)
 
 GDALDDS (BaseTypeFactory *factory, const string &name)
 
 GDALDDS (const GDALDDS &rhs)
 
GDALDDSoperator= (const GDALDDS &rhs)
 
void setGDALDataset (const GDALDatasetH &hDSIn)
 
 ~GDALDDS ()
 

Detailed Description

This specialization of DDS is used to manage the 'resource' of the open GDAL 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 GDALDDS() 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 49 of file GDAL_DDS.h.

Constructor & Destructor Documentation

GDALDDS::GDALDDS ( DataDDS *  ddsIn)
inline

Definition at line 56 of file GDAL_DDS.h.

GDALDDS::GDALDDS ( BaseTypeFactory factory,
const string &  name 
)
inline

Definition at line 57 of file GDAL_DDS.h.

GDALDDS::GDALDDS ( const GDALDDS rhs)
inline

Definition at line 59 of file GDAL_DDS.h.

GDALDDS::~GDALDDS ( )
inline

Definition at line 72 of file GDAL_DDS.h.

Member Function Documentation

GDALDatasetH& GDALDDS::GDALDataset ( )
inline

Definition at line 78 of file GDAL_DDS.h.

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

Definition at line 63 of file GDAL_DDS.h.

void GDALDDS::setGDALDataset ( const GDALDatasetH &  hDSIn)
inline

Definition at line 77 of file GDAL_DDS.h.

Referenced by GDALRequestHandler::gdal_build_data().


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