bes
Updated for version 3.20.6
|
28 #ifndef I_CmrCatalog_h
29 #define I_CmrCatalog_h 1
35 #include "BESCatalog.h"
36 #include "BESInternalError.h"
52 std::vector<std::string> d_collections;
53 std::vector<std::string> d_facets;
57 CmrCatalog(
const std::string &name = CMR_CATALOG_NAME);
64 throw BESInternalError(
"The CMRCatalog::show_catalog() method is not supported. (container: '" + container +
"')",__FILE__,__LINE__);
70 virtual std::string
get_root()
const {
return ""; }
75 virtual void get_site_map(
const std::string &,
const std::string &,
const std::string &, std::ostream &,
76 const std::string &)
const {
77 BESDEBUG(MODULE,
"The CMRCatalog::get_site_map() method is not currently supported. SKIPPING. file: " << __FILE__ <<
" line: " << __LINE__ << std::endl);
87 virtual void dump(std::ostream &strm)
const;
92 #endif // I_CmrCatalog_h
builds catalogs from a directory structure
CmrCatalog(const std::string &name=CMR_CATALOG_NAME)
A catalog based on NASA's CMR system.
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual BESCatalogEntry * show_catalog(const std::string &container, BESCatalogEntry *)
virtual void get_site_map(const std::string &, const std::string &, const std::string &, std::ostream &, const std::string &) const
exception thrown if internal error encountered
virtual std::string get_root() const
virtual bes::CatalogNode * get_node_OLD(const std::string &path) const
Get a CatalogNode for the given path in the current catalog.
Catalogs provide a hierarchical organization for data.