OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
BESCatalogUtils Class Reference

#include <BESCatalogUtils.h>

Inheritance diagram for BESCatalogUtils:
Inheritance graph
Collaboration diagram for BESCatalogUtils:
Collaboration graph

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
 
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 const BESCatalogUtilsUtils (const string &name)
 

Detailed Description

Definition at line 49 of file BESCatalogUtils.h.

Member Typedef Documentation

typedef vector< type_reg >::const_iterator BESCatalogUtils::match_citer

Definition at line 78 of file BESCatalogUtils.h.

Constructor & Destructor Documentation

BESCatalogUtils::BESCatalogUtils ( const string &  name)
virtual BESCatalogUtils::~BESCatalogUtils ( )
inlinevirtual

Definition at line 72 of file BESCatalogUtils.h.

Member Function Documentation

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...

Parameters
strmC++ i/o stream to dump the object to

Implements BESObj.

Definition at line 249 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().

Here is the call graph for this function:

bool BESCatalogUtils::exclude ( const string &  inQuestion) const
virtual

Definition at line 205 of file BESCatalogUtils.cc.

References BESError::get_message().

Referenced by include(), and BESCatalogDirectory::show_catalog().

Here is the call graph for this function:

bool BESCatalogUtils::follow_sym_links ( ) const
inline
const string& BESCatalogUtils::get_root_dir ( ) const
inline
bool BESCatalogUtils::include ( const string &  inQuestion) const
virtual

Definition at line 149 of file BESCatalogUtils.cc.

References exclude(), and BESError::get_message().

Referenced by BESContainerStorageCatalog::add_container(), and BESCatalogDirectory::show_catalog().

Here is the call graph for this function:

BESCatalogUtils::match_citer BESCatalogUtils::match_list_begin ( ) const
BESCatalogUtils::match_citer BESCatalogUtils::match_list_end ( ) const
const BESCatalogUtils * BESCatalogUtils::Utils ( const string &  name)
static

The documentation for this class was generated from the following files: