#include <BESCatalogUtils.h>
Inheritance diagram for BESCatalogUtils:
Public Types | |
typedef list< type_reg >::const_iterator | match_citer |
Public Member Functions | |
BESCatalogUtils (const string &name) | |
virtual | ~BESCatalogUtils () |
const string & | get_root_dir () const |
virtual bool | include (const string &inQuestion) const |
virtual bool | exclude (const string &inQuestion) const |
BESCatalogUtils::match_citer | match_list_begin () const |
BESCatalogUtils::match_citer | match_list_end () const |
virtual void | dump (ostream &strm) const |
dump the contents of this object to the specified ostream | |
Static Public Member Functions | |
static const BESCatalogUtils * | Utils (const string &name) |
Classes | |
struct | type_reg |
Definition at line 16 of file BESCatalogUtils.h.
typedef list< type_reg >::const_iterator BESCatalogUtils::match_citer |
Definition at line 45 of file BESCatalogUtils.h.
BESCatalogUtils::BESCatalogUtils | ( | const string & | name | ) |
Definition at line 17 of file BESCatalogUtils.cc.
References BESKeys::get_key(), BESCatalogUtils::type_reg::reg, TheBESKeys::TheKeys(), and BESCatalogUtils::type_reg::type.
Here is the call graph for this function:
virtual BESCatalogUtils::~BESCatalogUtils | ( | ) | [inline, virtual] |
Definition at line 40 of file BESCatalogUtils.h.
const string& BESCatalogUtils::get_root_dir | ( | ) | const [inline] |
Definition at line 41 of file BESCatalogUtils.h.
Referenced by BESContainerStorageCatalog::BESContainerStorageCatalog(), and BESCatalogDirectory::show_catalog().
bool BESCatalogUtils::include | ( | const string & | inQuestion | ) | const [virtual] |
Definition at line 128 of file BESCatalogUtils.cc.
References exclude().
Referenced by BESContainerStorageCatalog::add_container(), and BESCatalogDirectory::show_catalog().
Here is the call graph for this function:
bool BESCatalogUtils::exclude | ( | const string & | inQuestion | ) | const [virtual] |
Definition at line 179 of file BESCatalogUtils.cc.
Referenced by BESContainerStorageCatalog::add_container(), include(), and BESCatalogDirectory::show_catalog().
BESCatalogUtils::match_citer BESCatalogUtils::match_list_begin | ( | ) | const |
Definition at line 207 of file BESCatalogUtils.cc.
Referenced by BESContainerStorageCatalog::add_container(), and BESContainerStorageCatalog::isData().
BESCatalogUtils::match_citer BESCatalogUtils::match_list_end | ( | ) | const |
Definition at line 213 of file BESCatalogUtils.cc.
Referenced by BESContainerStorageCatalog::add_container(), and BESContainerStorageCatalog::isData().
void BESCatalogUtils::dump | ( | ostream & | strm | ) | const [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 219 of file BESCatalogUtils.cc.
References BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by BESContainerStorageCatalog::dump(), and BESCatalogDirectory::dump().
Here is the call graph for this function:
const BESCatalogUtils * BESCatalogUtils::Utils | ( | const string & | name | ) | [static] |
Definition at line 284 of file BESCatalogUtils.cc.
Referenced by BESCatalogDirectory::BESCatalogDirectory(), and BESContainerStorageCatalog::BESContainerStorageCatalog().