33 #ifndef BESCatalogList_h_
34 #define BESCatalogList_h_ 1
48 #define BES_DEFAULT_CATALOG "catalog"
73 map<string, BESCatalog *> _catalogs ;
74 string _default_catalog ;
87 virtual bool ref_catalog(
const string &catalog_name ) ;
92 bool show_default =
true ) ;
97 virtual void dump( ostream &strm )
const ;
102 #endif // BESCatalogList_h_
virtual BESCatalog * find_catalog(const string &catalog_name)
find the catalog in the list with the specified name
virtual bool add_catalog(BESCatalog *catalog)
adds the speciifed catalog to the list
virtual BESCatalogEntry * show_catalogs(BESDataHandlerInterface &dhi, BESCatalogEntry *entry, bool show_default=true)
show the list of catalogs
virtual catalog_iter end_catalog()
Base object for bes objects.
virtual bool ref_catalog(const string &catalog_name)
reference the specified catalog
List of all registered catalogs.
virtual void dump(ostream &strm) const
dumps information about this object
virtual string default_catalog()
virtual bool deref_catalog(const string &catalog_name)
de-reference the specified catalog and remove from list if no longer referenced
virtual ~BESCatalogList()
list destructor deletes all registered catalogs
BESCatalogList()
construct a catalog list
abstract base class catalog object.
Structure storing information used by the BES to handle the request.
virtual catalog_iter first_catalog()
static BESCatalogList * TheCatalogList()
returns the singleton BESCatalogList instance
map< string, BESCatalog * >::iterator catalog_iter
virtual int num_catalogs()
map< string, BESCatalog * >::const_iterator catalog_citer