OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <BESCatalogUtils.h>
Classes | |
struct | type_reg |
Public Types | |
typedef vector< type_reg > ::const_iterator | match_citer |
Public Member Functions | |
BESCatalogUtils (const string &name) | |
virtual void | dump (ostream &strm) const |
dump the contents of this object to the specified ostream More... | |
virtual bool | exclude (const string &inQuestion) const |
bool | follow_sym_links () const |
virtual unsigned int | get_entries (DIR *dip, const string &fullnode, const string &use_node, const string &coi, BESCatalogEntry *entry, bool dirs_only) |
const string & | get_root_dir () const |
virtual bool | include (const string &inQuestion) const |
BESCatalogUtils::match_citer | match_list_begin () const |
BESCatalogUtils::match_citer | match_list_end () const |
virtual | ~BESCatalogUtils () |
Static Public Member Functions | |
static void | bes_add_stat_info (BESCatalogEntry *entry, const string &fullnode) |
static void | delete_all_catalogs () |
static void | display_entry (BESCatalogEntry *entry, BESInfo *info) |
static bool | isData (const string &inQuestion, const string &catalog, list< string > &services) |
static BESCatalogUtils * | Utils (const string &name) |
Definition at line 56 of file BESCatalogUtils.h.
typedef vector<type_reg>::const_iterator BESCatalogUtils::match_citer |
Definition at line 91 of file BESCatalogUtils.h.
BESCatalogUtils::BESCatalogUtils | ( | const string & | name | ) |
Definition at line 66 of file BESCatalogUtils.cc.
References BESUtil::explode(), BESKeys::get_value(), BESKeys::get_values(), BESUtil::lowercase(), BESCatalogUtils::type_reg::reg, TheBESKeys::TheKeys(), and BESCatalogUtils::type_reg::type.
|
inlinevirtual |
Definition at line 80 of file BESCatalogUtils.h.
|
static |
Definition at line 357 of file BESCatalogUtils.cc.
Referenced by BESCatalogDirectory::show_catalog().
|
static |
Definition at line 471 of file BESCatalogUtils.cc.
Referenced by ServerApp::~ServerApp(), and StandAloneApp::~StandAloneApp().
|
static |
Definition at line 320 of file BESCatalogUtils.cc.
References BESInfo::add_tag(), BESInfo::begin_tag(), BESCatalogList::default_catalog(), BESCatalogEntry::get_catalog(), BESCatalogEntry::get_count(), BESCatalogEntry::get_mod_date(), BESCatalogEntry::get_mod_time(), BESCatalogEntry::get_name(), BESCatalogEntry::get_service_list(), BESCatalogEntry::get_size(), BESCatalogEntry::is_collection(), and BESCatalogList::TheCatalogList().
Referenced by BESCatalogResponseHandler::execute().
|
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 OPeNDAOObj 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.
Definition at line 399 of file BESCatalogUtils.cc.
References BESIndent::Indent(), BESIndent::LMarg(), BESCatalogUtils::type_reg::reg, BESCatalogUtils::type_reg::type, and BESIndent::UnIndent().
Referenced by BESCatalogDirectory::dump(), and BESContainerStorageCatalog::dump().
|
virtual |
Definition at line 192 of file BESCatalogUtils.cc.
References BESError::get_message().
Referenced by get_entries(), include(), and BESCatalogDirectory::show_catalog().
|
inline |
Definition at line 85 of file BESCatalogUtils.h.
Referenced by BESContainerStorageCatalog::BESContainerStorageCatalog(), get_entries(), and BESCatalogDirectory::show_catalog().
|
virtual |
Definition at line 224 of file BESCatalogUtils.cc.
References BESCatalogEntry::add_entry(), exclude(), follow_sym_links(), BESCatalogEntry::get_catalog(), include(), isData(), and BESCatalogEntry::set_service_list().
Referenced by BESCatalogDirectory::show_catalog().
|
inline |
Definition at line 82 of file BESCatalogUtils.h.
Referenced by BESContainerStorageCatalog::BESContainerStorageCatalog(), and BESCatalogDirectory::show_catalog().
|
virtual |
Definition at line 149 of file BESCatalogUtils.cc.
References exclude(), and BESError::get_message().
Referenced by BESContainerStorageCatalog::add_container(), get_entries(), and BESCatalogDirectory::show_catalog().
|
static |
Definition at line 389 of file BESCatalogUtils.cc.
References BESContainerStorageList::find_persistence(), BESContainerStorage::isData(), and BESContainerStorageList::TheList().
Referenced by get_entries(), and BESCatalogDirectory::show_catalog().
BESCatalogUtils::match_citer BESCatalogUtils::match_list_begin | ( | ) | const |
Definition at line 216 of file BESCatalogUtils.cc.
Referenced by BESContainerStorageCatalog::add_container(), and BESContainerStorageCatalog::isData().
BESCatalogUtils::match_citer BESCatalogUtils::match_list_end | ( | ) | const |
Definition at line 220 of file BESCatalogUtils.cc.
Referenced by BESContainerStorageCatalog::add_container(), and BESContainerStorageCatalog::isData().
|
static |
Definition at line 461 of file BESCatalogUtils.cc.
Referenced by BESCatalogDirectory::BESCatalogDirectory(), and BESContainerStorageCatalog::BESContainerStorageCatalog().