bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5RequestHandler.cc File Reference

The implementation of the entry functions to execute the handlers. More...

#include <iostream>
#include <string>
#include <unordered_map>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <libdap/DMR.h>
#include <libdap/D4BaseTypeFactory.h>
#include <ObjMemCache.h>
#include "HDF5_DMR.h"
#include <libdap/mime_util.h>
#include "hdf5_handler.h"
#include "HDF5RequestHandler.h"
#include "HDF5CFModule.h"
#include "HDF5_DDS.h"
#include <BESDASResponse.h>
#include <libdap/Ancillary.h>
#include <BESInfo.h>
#include <BESDapNames.h>
#include <BESResponseNames.h>
#include <BESVersionInfo.h>
#include <BESServiceRegistry.h>
#include <BESUtil.h>
#include <BESDapError.h>
#include <BESInternalFatalError.h>
#include <BESSyntaxUserError.h>
#include <TheBESKeys.h>
#include <BESDebug.h>
#include <BESStopWatch.h>
#include "h5get.h"
#include "h5cfdaputil.h"
Include dependency graph for HDF5RequestHandler.cc:

Go to the source code of this file.

Macros

#define HDF5_NAME   "h5"
 
#define prolog   std::string("HDF5RequestHandler::").append(__func__).append("() - ")
 

Functions

char * copy_str (char *temp_ptr, const string &str)
 
void get_attr_contents (AttrTable *temp_table)
 
char * get_attr_info_from_dc (char *temp_pointer, DAS *das, AttrTable *at)
 
bool obtain_beskeys_info (const string &, bool &)
 
char * obtain_str (char *temp_ptr, string &str)
 
void read_cfdas (DAS &das, const string &filename, hid_t fileid)
 
void read_cfdds (DDS &dds, const string &filename, hid_t fileid)
 
void read_cfdmr (DMR *dmr, const string &filename, hid_t fileid)
 
void write_container_name_to_file (const string &, FILE *das_file)
 
void write_das_attr_info (AttrTable *dtp, const string &, const string &, FILE *das_file)
 
void write_das_table_to_file (AttrTable *temp_table, FILE *das_file)
 
void write_das_to_file (DAS *das_ptr, FILE *das_file)
 

Detailed Description

The implementation of the entry functions to execute the handlers.

It includes build_das, build_dds and build_data etc.

Author
James Gallagher jgall.nosp@m.aghe.nosp@m.r@ope.nosp@m.ndap.nosp@m..org

Definition in file HDF5RequestHandler.cc.

Macro Definition Documentation

◆ HDF5_NAME

#define HDF5_NAME   "h5"

Definition at line 70 of file HDF5RequestHandler.cc.

◆ prolog

#define prolog   std::string("HDF5RequestHandler::").append(__func__).append("() - ")

Definition at line 77 of file HDF5RequestHandler.cc.

Function Documentation

◆ copy_str()

char * copy_str ( char * temp_ptr,
const string & str )

Definition at line 2129 of file HDF5RequestHandler.cc.

◆ get_attr_contents()

void get_attr_contents ( AttrTable * temp_table)

Definition at line 2232 of file HDF5RequestHandler.cc.

◆ get_attr_info_from_dc()

char * get_attr_info_from_dc ( char * temp_pointer,
DAS * das,
AttrTable * at )

Definition at line 2162 of file HDF5RequestHandler.cc.

◆ obtain_beskeys_info()

bool obtain_beskeys_info ( const string & key,
bool & has_key )

Definition at line 2062 of file HDF5RequestHandler.cc.

◆ obtain_str()

char * obtain_str ( char * temp_ptr,
string & str )

Definition at line 2145 of file HDF5RequestHandler.cc.

◆ read_cfdas()

void read_cfdas ( DAS & das,
const string & filename,
hid_t fileid )
extern

Definition at line 78 of file h5cfdap.cc.

◆ read_cfdds()

void read_cfdds ( DDS & dds,
const string & filename,
hid_t fileid )
extern

Definition at line 47 of file h5cfdap.cc.

◆ read_cfdmr()

void read_cfdmr ( DMR * dmr,
const string & filename,
hid_t fileid )
extern

Definition at line 104 of file h5cfdap.cc.

◆ write_container_name_to_file()

void write_container_name_to_file ( const string & cont_name,
FILE * das_file )

Definition at line 1869 of file HDF5RequestHandler.cc.

◆ write_das_attr_info()

void write_das_attr_info ( AttrTable * dtp,
const string & attr_name,
const string & attr_type,
FILE * das_file )

Definition at line 1889 of file HDF5RequestHandler.cc.

◆ write_das_table_to_file()

void write_das_table_to_file ( AttrTable * temp_table,
FILE * das_file )

Definition at line 1817 of file HDF5RequestHandler.cc.

◆ write_das_to_file()

void write_das_to_file ( DAS * das_ptr,
FILE * das_file )

Definition at line 1804 of file HDF5RequestHandler.cc.