42#include <BESRequestHandlerList.h>
43#include <BESResponseHandlerList.h>
44#include <BESResponseNames.h>
46#include <BESContainerStorageList.h>
47#include <BESFileContainerStorage.h>
48#include <BESCatalogDirectory.h>
49#include <BESCatalogList.h>
50#include <BESDapService.h>
55#include "CSVRequestHandler.h"
59#define CSV_CATALOG "catalog"
61void CSVModule::initialize(
const string &modname)
63 BESDEBUG(
"csv",
"Initializing CSV Module: " << modname << endl);
73 if (!BESContainerStorageList::TheList()->ref_persistence(CSV_CATALOG)) {
79 BESDEBUG(
"csv",
"Done Initializing CSV Handler: " << modname << endl);
82void CSVModule::terminate(
const string &modname)
84 BESDEBUG(
"csv",
"Cleaning CSV Module: " << modname << endl);
93 BESDEBUG(
"csv",
"Done Cleaning CSV Module: " << modname << endl);
105 strm << BESIndent::LMarg <<
"CSVModule::dump - (" << (
void *)
this <<
")" << endl;
Catalogs from a directory structure.
virtual bool add_catalog(BESCatalog *catalog)
adds the specified catalog to the list
static BESCatalogList * TheCatalogList()
Get the singleton BESCatalogList instance.
virtual bool add_persistence(BESContainerStorage *p)
Add a persistent store to the list.
virtual bool deref_persistence(const std::string &persist_name)
dereference a persistent store in the list.
static void handle_dap_service(const std::string &handler)
static function to register a handler to handle the dap services
static void Register(const std::string &flagName)
register the specified debug flag
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
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
Represents a specific data type request handler.
virtual void dump(std::ostream &strm) const
dump the contents of this object to the specified ostream