28 #ifndef I_CmrCatalog_h 29 #define I_CmrCatalog_h 1 38 #include "BESCatalog.h" 39 #include "BESInternalError.h" 55 std::vector<std::string> d_collections;
56 std::vector<std::string> d_facets;
60 CmrCatalog(
const std::string &name = CMR_CATALOG_NAME);
67 throw BESInternalError(
"The CMRCatalog::show_catalog() method is not supported. (container: '" + container +
"')",__FILE__,__LINE__);
73 virtual std::string
get_root()
const {
return ""; }
78 virtual void get_site_map(
const std::string &,
const std::string &,
const std::string &, ostream &,
79 const std::string &)
const {
80 BESDEBUG(MODULE,
"The CMRCatalog::get_site_map() method is not currently supported. SKIPPING. file: " << __FILE__ <<
" line: " << __LINE__ << endl);
90 virtual void dump(ostream &strm)
const;
95 #endif // I_CmrCatalog_h virtual void get_site_map(const std::string &, const std::string &, const std::string &, ostream &, const std::string &) const
exception thrown if inernal error encountered
CmrCatalog(const std::string &name=CMR_CATALOG_NAME)
A catalog based on NASA's CMR system.
virtual void dump(ostream &strm) const
dumps information about this object
virtual std::string get_root() const
builds catalogs from a directory structure
Catalogs provide a hierarchical organization for data.
virtual BESCatalogEntry * show_catalog(const string &container, BESCatalogEntry *)
virtual bes::CatalogNode * get_node_OLD(const std::string &path) const
Get a CatalogNode for the given path in the current catalog.