bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Catalogs provide a hierarchical organization for data. More...
#include <BESCatalog.h>
Public Member Functions | |
BESCatalog (const std::string &catalog_name) | |
virtual unsigned int | dereference_catalog () |
Decrement the count of clients that reference this catalog. | |
virtual void | dump (std::ostream &strm) const =0 |
dump the contents of this object to the specified ostream | |
virtual std::string | get_catalog_name () const |
Get the name for this catalog. | |
virtual BESCatalogUtils * | get_catalog_utils () const |
Get a pointer to the utilities, customized for this catalog. | |
virtual bes::CatalogNode * | get_node (const std::string &path) const =0 |
virtual std::string | get_root () const =0 |
virtual void | get_site_map (const std::string &prefix, const std::string &node_suffix, const std::string &leaf_suffix, std::ostream &out, const std::string &path="/") const =0 |
virtual void | reference_catalog () |
Increase the count of clients that reference this catalog. | |
virtual BESCatalogEntry * | show_catalog (const std::string &container, BESCatalogEntry *entry)=0 |
Catalogs provide a hierarchical organization for data.
Definition at line 51 of file BESCatalog.h.
|
explicit |
Definition at line 35 of file BESCatalog.cc.
|
virtual |
Definition at line 40 of file BESCatalog.cc.
|
inlinevirtual |
Decrement the count of clients that reference this catalog.
Definition at line 91 of file BESCatalog.h.
|
pure virtual |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAPObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
strm | C++ i/o stream to dump the object to |
Implements BESObj.
Implemented in BESCatalogDirectory, cmr::CmrCatalog, and httpd_catalog::HttpdCatalog.
|
inlinevirtual |
|
inlinevirtual |
Get a pointer to the utilities, customized for this catalog.
Definition at line 112 of file BESCatalog.h.
|
pure virtual |
Implemented in BESCatalogDirectory, cmr::CmrCatalog, and httpd_catalog::HttpdCatalog.
|
pure virtual |
The 'root prefix' for a catalog. For catalogs rooted in the file system, this is the pathname to that directory. If the idea of a 'root prefix' makes no sense for a particular kind of catalog, this should be the empty string.
Implemented in BESCatalogDirectory, cmr::CmrCatalog, and httpd_catalog::HttpdCatalog.
|
pure virtual |
Implemented in BESCatalogDirectory, cmr::CmrCatalog, and httpd_catalog::HttpdCatalog.
|
inlinevirtual |
Increase the count of clients that reference this catalog.
This class maintains a count of the clients that reference the catalog. When count of clients drops to zero, the instance can be deleted.
Definition at line 80 of file BESCatalog.h.
|
pure virtual |
Implemented in BESCatalogDirectory, cmr::CmrCatalog, and httpd_catalog::HttpdCatalog.