bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5RequestHandler Class Reference
Inheritance diagram for HDF5RequestHandler:
Inheritance graph
Collaboration diagram for HDF5RequestHandler:
Collaboration graph

Public Types

typedef std::map< std::string, p_request_handler_method >::const_iterator Handler_citer
 
typedef std::map< std::string, p_request_handler_method >::iterator Handler_iter
 

Public Member Functions

void add_attributes (BESDataHandlerInterface &dhi) override
 
virtual bool add_handler (const std::string &name, p_request_handler_method method)
 Backward compatibility with the older version of this class.
 
virtual bool add_method (const std::string &name, p_request_handler_method method)
 add a handler method to the request handler that knows how to fill in a specific response object
 
virtual void dump (std::ostream &strm) const
 dumps information about this object
 
virtual p_request_handler_method find_method (const std::string &name)
 find the method that can handle the specified response object type
 
virtual time_t get_lmt (const std::string &name)
 Get the Last modified time for.
 
virtual std::string get_method_names ()
 return a comma separated list of response object types handled by this request handler
 
virtual const std::string & get_name () const
 
 HDF5RequestHandler (const std::string &name)
 
virtual bool remove_method (const std::string &name)
 remove the specified handler method from this request handler
 
void set_lrdata_mem_cache (ObjMemCache *my_lrdata_mem_cache) const
 
void set_srdata_mem_cache (ObjMemCache *my_srdata_mem_cache) const
 

Static Public Member Functions

static bool get_add_dap4_coverage ()
 
static bool get_add_path_attrs ()
 
static float get_cache_purge_level ()
 
static bool get_check_ignore_obj ()
 
static bool get_check_name_clashing ()
 
static bool get_common_cache_dirs ()
 
static bool get_default_handle_dimension ()
 
static bool get_disable_ecsmeta ()
 
static bool get_disable_structmeta ()
 
static bool get_disk_cache_comp_data ()
 
static string get_disk_cache_dir ()
 
static bool get_disk_cache_float_only_comp ()
 
static unsigned long long get_disk_cache_size ()
 
static string get_disk_cachefile_prefix ()
 
static float get_disk_comp_threshold ()
 
static unsigned long get_disk_var_size ()
 
static libdap::DMR * get_dmr_64bit_int ()
 
static bool get_dmr_long_int ()
 
static bool get_drop_long_string ()
 
static bool get_enable_coord_attr_add_path ()
 
static bool get_eos5_rm_convention_attr_path ()
 
static bool get_escape_utf8_attr ()
 
static bool get_fillvalue_check ()
 
static bool get_force_flatten_coor_attr ()
 
static bool get_keep_var_leading_underscore ()
 
static string get_latlon_disk_cache_dir ()
 
static long get_latlon_disk_cache_size ()
 
static string get_latlon_disk_cachefile_prefix ()
 
static void get_lrd_cache_dir_list (std::vector< string > &cur_lrd_cache_dir_list)
 
static void get_lrd_non_cache_dir_list (std::vector< string > &cur_lrd_non_cache_dir_list)
 
static void get_lrd_var_cache_file_list (std::vector< string > &cur_lrd_var_cache_file_list)
 
static ObjMemCacheget_lrdata_mem_cache ()
 
static unsigned int get_lrdcache_entries ()
 
static unsigned int get_mdcache_entries ()
 
static bool get_no_zero_size_fullnameattr ()
 
static bool get_pass_fileid ()
 
static ObjMemCacheget_srdata_mem_cache ()
 
static unsigned int get_srdcache_entries ()
 
static string get_stp_east_filename ()
 
static string get_stp_north_filename ()
 
static bool get_use_disk_cache ()
 
static bool get_use_eosgeo_cachefile ()
 
static bool get_usecf ()
 
static bool get_usecfdmr ()
 
static bool hdf5_build_das (BESDataHandlerInterface &dhi)
 
static bool hdf5_build_data (BESDataHandlerInterface &dhi)
 
static bool hdf5_build_dds (BESDataHandlerInterface &dhi)
 
static bool hdf5_build_dmr (BESDataHandlerInterface &dhi)
 
static bool hdf5_build_help (BESDataHandlerInterface &dhi)
 
static bool hdf5_build_version (BESDataHandlerInterface &dhi)
 
static void set_dmr_64bit_int (libdap::DMR *dmr)
 

Detailed Description

Definition at line 56 of file HDF5RequestHandler.h.

Member Typedef Documentation

◆ Handler_citer

typedef std::map<std::string,p_request_handler_method>::const_iterator BESRequestHandler::Handler_citer
inherited

Definition at line 89 of file BESRequestHandler.h.

◆ Handler_iter

typedef std::map<std::string,p_request_handler_method>::iterator BESRequestHandler::Handler_iter
inherited

Definition at line 90 of file BESRequestHandler.h.

Constructor & Destructor Documentation

◆ HDF5RequestHandler()

HDF5RequestHandler::HDF5RequestHandler ( const std::string & name)
explicit

Definition at line 197 of file HDF5RequestHandler.cc.

◆ ~HDF5RequestHandler()

HDF5RequestHandler::~HDF5RequestHandler ( void )
override

Definition at line 220 of file HDF5RequestHandler.cc.

Member Function Documentation

◆ add_attributes()

void HDF5RequestHandler::add_attributes ( BESDataHandlerInterface & dhi)
overridevirtual

Reimplemented from BESRequestHandler.

Definition at line 2265 of file HDF5RequestHandler.cc.

◆ add_handler()

virtual bool BESRequestHandler::add_handler ( const std::string & name,
p_request_handler_method method )
inlinevirtualinherited

Backward compatibility with the older version of this class.

Deprecated

Definition at line 101 of file BESRequestHandler.h.

◆ add_method()

bool BESRequestHandler::add_method ( const std::string & name,
p_request_handler_method handler_method )
virtualinherited

add a handler method to the request handler that knows how to fill in a specific response object

Add a handler method for a specific response object to the request handler. The handler method takes a reference to a BESDataHandlerInterface and returns bool, true if the response object is filled in successfully by the method, false otherwise.

Parameters
handler_namename of the response object this method can fill in
handler_methoda function pointer to the method that can fill in the specified response object
Returns
true if the handler is added, false if it already exists
See also
BESResponseObject
BESResponseNames

Definition at line 58 of file BESRequestHandler.cc.

◆ dump()

void BESRequestHandler::dump ( std::ostream & strm) const
virtualinherited

dumps information about this object

Displays the pointer value of this instance, the name of the request handler, and the names of all registered handler functions

Parameters
strmC++ i/o stream to dump the information to

Implements BESObj.

Reimplemented in BESAsciiRequestHandler, BESDapRequestHandler, BESUsageRequestHandler, BESWWWRequestHandler, BESXDRequestHandler, builddmrpp::BuildDmrppRequestHandler, CSVRequestHandler, DapFunctionsRequestHandler, DapRequestHandler, dmrpp::DmrppRequestHandler, FitsRequestHandler, FoCovJsonRequestHandler, FoJsonRequestHandler, FONcRequestHandler, gateway::GatewayRequestHandler, ncml_module::NCMLRequestHandler, ngap::NgapRequestHandler, s3::S3RequestHandler, SampleRequestHandler, and W10nJsonRequestHandler.

Definition at line 164 of file BESRequestHandler.cc.

◆ find_method()

p_request_handler_method BESRequestHandler::find_method ( const std::string & name)
virtualinherited

find the method that can handle the specified response object type

Find the method that can handle the specified response object type. The response object type is the same as the handler name.

Parameters
handler_namename of the method that can fill in the response object type
Returns
the method that can fill in the specified response object type
See also
BESResponseObject
BESResponseNames

Definition at line 95 of file BESRequestHandler.cc.

◆ get_add_dap4_coverage()

static bool HDF5RequestHandler::get_add_dap4_coverage ( )
inlinestatic

Definition at line 85 of file HDF5RequestHandler.h.

◆ get_add_path_attrs()

static bool HDF5RequestHandler::get_add_path_attrs ( )
inlinestatic

Definition at line 74 of file HDF5RequestHandler.h.

◆ get_cache_purge_level()

static float HDF5RequestHandler::get_cache_purge_level ( )
inlinestatic

Definition at line 101 of file HDF5RequestHandler.h.

◆ get_check_ignore_obj()

static bool HDF5RequestHandler::get_check_ignore_obj ( )
inlinestatic

Definition at line 77 of file HDF5RequestHandler.h.

◆ get_check_name_clashing()

static bool HDF5RequestHandler::get_check_name_clashing ( )
inlinestatic

Definition at line 73 of file HDF5RequestHandler.h.

◆ get_common_cache_dirs()

static bool HDF5RequestHandler::get_common_cache_dirs ( )
inlinestatic

Definition at line 112 of file HDF5RequestHandler.h.

◆ get_default_handle_dimension()

static bool HDF5RequestHandler::get_default_handle_dimension ( )
inlinestatic

Definition at line 88 of file HDF5RequestHandler.h.

◆ get_disable_ecsmeta()

static bool HDF5RequestHandler::get_disable_ecsmeta ( )
inlinestatic

Definition at line 71 of file HDF5RequestHandler.h.

◆ get_disable_structmeta()

static bool HDF5RequestHandler::get_disable_structmeta ( )
inlinestatic

Definition at line 70 of file HDF5RequestHandler.h.

◆ get_disk_cache_comp_data()

static bool HDF5RequestHandler::get_disk_cache_comp_data ( )
inlinestatic

Definition at line 127 of file HDF5RequestHandler.h.

◆ get_disk_cache_dir()

static string HDF5RequestHandler::get_disk_cache_dir ( )
inlinestatic

Definition at line 124 of file HDF5RequestHandler.h.

◆ get_disk_cache_float_only_comp()

static bool HDF5RequestHandler::get_disk_cache_float_only_comp ( )
inlinestatic

Definition at line 128 of file HDF5RequestHandler.h.

◆ get_disk_cache_size()

static unsigned long long HDF5RequestHandler::get_disk_cache_size ( )
inlinestatic

Definition at line 126 of file HDF5RequestHandler.h.

◆ get_disk_cachefile_prefix()

static string HDF5RequestHandler::get_disk_cachefile_prefix ( )
inlinestatic

Definition at line 125 of file HDF5RequestHandler.h.

◆ get_disk_comp_threshold()

static float HDF5RequestHandler::get_disk_comp_threshold ( )
inlinestatic

Definition at line 129 of file HDF5RequestHandler.h.

◆ get_disk_var_size()

static unsigned long HDF5RequestHandler::get_disk_var_size ( )
inlinestatic

Definition at line 130 of file HDF5RequestHandler.h.

◆ get_dmr_64bit_int()

static libdap::DMR * HDF5RequestHandler::get_dmr_64bit_int ( )
inlinestatic

Definition at line 91 of file HDF5RequestHandler.h.

◆ get_dmr_long_int()

static bool HDF5RequestHandler::get_dmr_long_int ( )
inlinestatic

Definition at line 80 of file HDF5RequestHandler.h.

◆ get_drop_long_string()

static bool HDF5RequestHandler::get_drop_long_string ( )
inlinestatic

Definition at line 75 of file HDF5RequestHandler.h.

◆ get_enable_coord_attr_add_path()

static bool HDF5RequestHandler::get_enable_coord_attr_add_path ( )
inlinestatic

Definition at line 82 of file HDF5RequestHandler.h.

◆ get_eos5_rm_convention_attr_path()

static bool HDF5RequestHandler::get_eos5_rm_convention_attr_path ( )
inlinestatic

Definition at line 79 of file HDF5RequestHandler.h.

◆ get_escape_utf8_attr()

static bool HDF5RequestHandler::get_escape_utf8_attr ( )
inlinestatic

Definition at line 138 of file HDF5RequestHandler.h.

◆ get_fillvalue_check()

static bool HDF5RequestHandler::get_fillvalue_check ( )
inlinestatic

Definition at line 76 of file HDF5RequestHandler.h.

◆ get_force_flatten_coor_attr()

static bool HDF5RequestHandler::get_force_flatten_coor_attr ( )
inlinestatic

Definition at line 78 of file HDF5RequestHandler.h.

◆ get_keep_var_leading_underscore()

static bool HDF5RequestHandler::get_keep_var_leading_underscore ( )
inlinestatic

Definition at line 72 of file HDF5RequestHandler.h.

◆ get_latlon_disk_cache_dir()

static string HDF5RequestHandler::get_latlon_disk_cache_dir ( )
inlinestatic

Definition at line 133 of file HDF5RequestHandler.h.

◆ get_latlon_disk_cache_size()

static long HDF5RequestHandler::get_latlon_disk_cache_size ( )
inlinestatic

Definition at line 135 of file HDF5RequestHandler.h.

◆ get_latlon_disk_cachefile_prefix()

static string HDF5RequestHandler::get_latlon_disk_cachefile_prefix ( )
inlinestatic

Definition at line 134 of file HDF5RequestHandler.h.

◆ get_lmt()

time_t BESRequestHandler::get_lmt ( const std::string & name)
virtualinherited

Get the Last modified time for.

  • name

Handlers that need a more sophisticated method should subclass.

Parameters
name
Returns
The LMT

Definition at line 133 of file BESRequestHandler.cc.

◆ get_lrd_cache_dir_list()

static void HDF5RequestHandler::get_lrd_cache_dir_list ( std::vector< string > & cur_lrd_cache_dir_list)
inlinestatic

Definition at line 113 of file HDF5RequestHandler.h.

◆ get_lrd_non_cache_dir_list()

static void HDF5RequestHandler::get_lrd_non_cache_dir_list ( std::vector< string > & cur_lrd_non_cache_dir_list)
inlinestatic

Definition at line 116 of file HDF5RequestHandler.h.

◆ get_lrd_var_cache_file_list()

static void HDF5RequestHandler::get_lrd_var_cache_file_list ( std::vector< string > & cur_lrd_var_cache_file_list)
inlinestatic

Definition at line 119 of file HDF5RequestHandler.h.

◆ get_lrdata_mem_cache()

static ObjMemCache * HDF5RequestHandler::get_lrdata_mem_cache ( )
inlinestatic

Definition at line 104 of file HDF5RequestHandler.h.

◆ get_lrdcache_entries()

static unsigned int HDF5RequestHandler::get_lrdcache_entries ( )
inlinestatic

Definition at line 99 of file HDF5RequestHandler.h.

◆ get_mdcache_entries()

static unsigned int HDF5RequestHandler::get_mdcache_entries ( )
inlinestatic

Definition at line 98 of file HDF5RequestHandler.h.

◆ get_method_names()

string BESRequestHandler::get_method_names ( )
virtualinherited

return a comma separated list of response object types handled by this request handler

Returns
the comma separated list of response object types
See also
BESResponseObject
BESResponseNames

Definition at line 112 of file BESRequestHandler.cc.

◆ get_name()

virtual const std::string & BESRequestHandler::get_name ( ) const
inlinevirtualinherited

Definition at line 92 of file BESRequestHandler.h.

◆ get_no_zero_size_fullnameattr()

static bool HDF5RequestHandler::get_no_zero_size_fullnameattr ( )
inlinestatic

Definition at line 81 of file HDF5RequestHandler.h.

◆ get_pass_fileid()

static bool HDF5RequestHandler::get_pass_fileid ( )
inlinestatic

Definition at line 69 of file HDF5RequestHandler.h.

◆ get_srdata_mem_cache()

static ObjMemCache * HDF5RequestHandler::get_srdata_mem_cache ( )
inlinestatic

Definition at line 108 of file HDF5RequestHandler.h.

◆ get_srdcache_entries()

static unsigned int HDF5RequestHandler::get_srdcache_entries ( )
inlinestatic

Definition at line 100 of file HDF5RequestHandler.h.

◆ get_stp_east_filename()

static string HDF5RequestHandler::get_stp_east_filename ( )
inlinestatic

Definition at line 94 of file HDF5RequestHandler.h.

◆ get_stp_north_filename()

static string HDF5RequestHandler::get_stp_north_filename ( )
inlinestatic

Definition at line 95 of file HDF5RequestHandler.h.

◆ get_use_disk_cache()

static bool HDF5RequestHandler::get_use_disk_cache ( )
inlinestatic

Definition at line 123 of file HDF5RequestHandler.h.

◆ get_use_eosgeo_cachefile()

static bool HDF5RequestHandler::get_use_eosgeo_cachefile ( )
inlinestatic

Definition at line 132 of file HDF5RequestHandler.h.

◆ get_usecf()

static bool HDF5RequestHandler::get_usecf ( )
inlinestatic

Definition at line 68 of file HDF5RequestHandler.h.

◆ get_usecfdmr()

static bool HDF5RequestHandler::get_usecfdmr ( )
inlinestatic

Definition at line 84 of file HDF5RequestHandler.h.

◆ hdf5_build_das()

bool HDF5RequestHandler::hdf5_build_das ( BESDataHandlerInterface & dhi)
static

Definition at line 460 of file HDF5RequestHandler.cc.

◆ hdf5_build_data()

bool HDF5RequestHandler::hdf5_build_data ( BESDataHandlerInterface & dhi)
static

Definition at line 974 of file HDF5RequestHandler.cc.

◆ hdf5_build_dds()

bool HDF5RequestHandler::hdf5_build_dds ( BESDataHandlerInterface & dhi)
static

Definition at line 899 of file HDF5RequestHandler.cc.

◆ hdf5_build_dmr()

bool HDF5RequestHandler::hdf5_build_dmr ( BESDataHandlerInterface & dhi)
static

Definition at line 1151 of file HDF5RequestHandler.cc.

◆ hdf5_build_help()

bool HDF5RequestHandler::hdf5_build_help ( BESDataHandlerInterface & dhi)
static

Definition at line 1495 of file HDF5RequestHandler.cc.

◆ hdf5_build_version()

bool HDF5RequestHandler::hdf5_build_version ( BESDataHandlerInterface & dhi)
static

Definition at line 1520 of file HDF5RequestHandler.cc.

◆ remove_method()

bool BESRequestHandler::remove_method ( const std::string & name)
virtualinherited

remove the specified handler method from this request handler

Parameters
handler_namename of the method to be removed, same as the name of the response object
Returns
true if successfully removed, false if not found
See also
BESResponseNames

Definition at line 74 of file BESRequestHandler.cc.

◆ set_dmr_64bit_int()

static void HDF5RequestHandler::set_dmr_64bit_int ( libdap::DMR * dmr)
inlinestatic

Definition at line 90 of file HDF5RequestHandler.h.

◆ set_lrdata_mem_cache()

void HDF5RequestHandler::set_lrdata_mem_cache ( ObjMemCache * my_lrdata_mem_cache) const
inline

Definition at line 105 of file HDF5RequestHandler.h.

◆ set_srdata_mem_cache()

void HDF5RequestHandler::set_srdata_mem_cache ( ObjMemCache * my_srdata_mem_cache) const
inline

Definition at line 109 of file HDF5RequestHandler.h.


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