bes
Updated for version 3.20.6
|
41 #include <BESRequestHandlerList.h>
42 #include <BESResponseHandlerList.h>
43 #include <BESResponseNames.h>
45 #include <BESContainerStorageList.h>
46 #include <BESFileContainerStorage.h>
47 #include <BESCatalogDirectory.h>
48 #include <BESCatalogList.h>
49 #include <BESDapService.h>
54 #include "CSVRequestHandler.h"
55 #include "CSVModule.h"
57 #define CSV_NAME "csv"
58 #define CSV_CATALOG "catalog"
60 void CSVModule::initialize(
const string &modname)
62 BESDEBUG(
"csv",
"Initializing CSV Module: " << modname << endl);
72 if (!BESContainerStorageList::TheList()->ref_persistence(CSV_CATALOG)) {
78 BESDEBUG(
"csv",
"Done Initializing CSV Handler: " << modname << endl);
81 void CSVModule::terminate(
const string &modname)
83 BESDEBUG(
"csv",
"Cleaning CSV Module: " << modname << endl);
92 BESDEBUG(
"csv",
"Done Cleaning CSV Module: " << modname << endl);
104 strm << BESIndent::LMarg <<
"CSVModule::dump - (" << (
void *)
this <<
")" << endl;
Represents a specific data type request handler.
virtual void dump(std::ostream &strm) const
dump the contents of this object to the specified ostream
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
virtual bool add_catalog(BESCatalog *catalog)
adds the specified catalog to the list
static void handle_dap_service(const std::string &handler)
static function to register a handler to handle the dap services