bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
builds catalogs from a directory structure exposed by Apache httpd More...
#include <HttpdCatalog.h>
Public Member Functions | |
virtual unsigned int | dereference_catalog () |
Decrement the count of clients that reference this catalog. | |
virtual void | dump (std::ostream &strm) const |
dumps information about this object | |
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 |
Produces the bes::CatalogNode for the string ppath. | |
virtual std::string | get_root () const |
virtual void | get_site_map (const std::string &, const std::string &, const std::string &, std::ostream &, const std::string &) const |
HttpdCatalog (const std::string &catalog_name=HTTPD_CATALOG_NAME) | |
A catalog based on scraping the directory pages produced by httpd . | |
virtual std::string | path_to_access_url (const std::string &path) const |
Takes a path which begins with the name of an HttpdCatalog collection and returns the associated access url for the referenced thingy. | |
virtual void | reference_catalog () |
Increase the count of clients that reference this catalog. | |
virtual BESCatalogEntry * | show_catalog (const std::string &container, BESCatalogEntry *) |
builds catalogs from a directory structure exposed by Apache httpd
Definition at line 50 of file HttpdCatalog.h.
httpd_catalog::HttpdCatalog::HttpdCatalog | ( | const std::string & | catalog_name = HTTPD_CATALOG_NAME | ) |
A catalog based on scraping the directory pages produced by httpd .
See HttpdDirScraper.cc for more.
HttpdCatalog is BESCatalog specialized for Apache httpd catalog pages.
name | The name of the catalog. |
Definition at line 84 of file HttpdCatalog.cc.
|
inlinevirtual |
Definition at line 57 of file HttpdCatalog.h.
|
inlinevirtualinherited |
Decrement the count of clients that reference this catalog.
Definition at line 91 of file BESCatalog.h.
|
virtual |
dumps information about this object
Displays the pointer value of this instance along with information about this catalog directory.
strm | C++ i/o stream to dump the information to |
Implements BESCatalog.
Definition at line 259 of file HttpdCatalog.cc.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Get a pointer to the utilities, customized for this catalog.
Definition at line 112 of file BESCatalog.h.
|
virtual |
Produces the bes::CatalogNode for the string ppath.
This includes dealing with the named Httpd_Catalog.Collections part of the path and providing catalog page with the list of Collections for the empty path.
Implements BESCatalog.
Definition at line 157 of file HttpdCatalog.cc.
|
inlinevirtual |
This is a meaningless method for a remote catalog so it returns empty string
Implements BESCatalog.
Definition at line 69 of file HttpdCatalog.h.
|
inlinevirtual |
|
virtual |
Takes a path which begins with the name of an HttpdCatalog collection and returns the associated access url for the referenced thingy.
p | The path to convert. |
BESNotFoundError | when there is no matching collection found. |
Definition at line 201 of file HttpdCatalog.cc.
|
inlinevirtualinherited |
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.
|
inlinevirtual |