bes
Updated for version 3.20.6
|
32 #define HDF4_CATALOG "catalog"
34 #include "HDF4Module.h"
35 #include <BESRequestHandlerList.h>
36 #include "HDF4RequestHandler.h"
37 #include <BESDapService.h>
38 #include <BESContainerStorageList.h>
39 #include <BESFileContainerStorage.h>
40 #include <BESCatalogDirectory.h>
41 #include <BESCatalogList.h>
46 void HDF4Module::initialize(
const string & modname)
48 BESDEBUG(
"h4",
"Initializing HDF4 module " << modname << endl);
51 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
60 if( !BESContainerStorageList::TheList()->ref_persistence( HDF4_CATALOG ) ) {
67 BESDEBUG(
"h4",
"Done Initializing HDF4 module " << modname << endl);
70 void HDF4Module::terminate(
const string & modname)
72 BESDEBUG(
"h4",
"Cleaning HDF4 module " << modname << endl);
81 BESDEBUG(
"h4",
"Done Cleaning HDF4 module " << modname << endl);
92 strm << BESIndent::LMarg <<
"HDF4Module::dump - ("
93 << (
void *)
this <<
")" << endl;
Represents a specific data type request handler.
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
virtual bool deref_persistence(const std::string &persist_name)
dereference a persistent store in the list.
Catalogs from a directory structure.
virtual bool add_persistence(BESContainerStorage *p)
Add a persistent store to the list.
static BESCatalogList * TheCatalogList()
Get the singleton BESCatalogList instance.
implementation of BESContainerStorage that represents a data within a catalog repository
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
static void Register(const std::string &flagName)
register the specified debug flag
static void handle_dap_service(const std::string &handler)
static function to register a handler to handle the dap services
virtual void dump(std::ostream &strm) const
dumps information about this object