BESCommand Class Reference

#include <BESCommand.h>

Inheritance diagram for BESCommand:

Inheritance graph
[legend]
Collaboration diagram for BESCommand:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BESCommand (const string &cmd)
virtual ~BESCommand ()
virtual string parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi)
virtual BESResponseHandlerparse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi)=0
virtual void dump (ostream &strm) const
 dumps information about this object

Static Public Member Functions

static void add_command (const string &cmd_str, BESCommand *cmd)
static bool del_command (const string &cmd_str)
static BESCommandfind_command (const string &cmd_str)

Static Public Attributes

static BESCommandTermCommand = new BESTermCommand( "term" )

Protected Attributes

string _cmd


Constructor & Destructor Documentation

BESCommand::BESCommand ( const string &  cmd  )  [inline]

virtual BESCommand::~BESCommand (  )  [inline, virtual]


Member Function Documentation

void BESCommand::add_command ( const string &  cmd_str,
BESCommand cmd 
) [static]

bool BESCommand::del_command ( const string &  cmd_str  )  [static]

void BESCommand::dump ( ostream &  strm  )  const [virtual]

dumps information about this object

Displays the pointer value of this instance

Parameters:
strm C++ i/o stream to dump the information to

Implements BESObj.

Reimplemented in BESCatalogCommand, BESDefineCommand, BESDelContainerCommand, BESDelContainersCommand, BESDelDefCommand, BESDelDefsCommand, BESDeleteCommand, BESGetCommand, BESSetCommand, BESSetContainerCommand, BESSetContextCommand, BESShowCommand, and BESTermCommand.

References _cmd, BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

Here is the call graph for this function:

BESCommand * BESCommand::find_command ( const string &  cmd_str  )  [static]

string BESCommand::parse_options ( BESTokenizer tokens,
BESDataHandlerInterface dhi 
) [virtual]

virtual BESResponseHandler* BESCommand::parse_request ( BESTokenizer tokens,
BESDataHandlerInterface dhi 
) [pure virtual]


Member Data Documentation

string BESCommand::_cmd [protected]


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

Generated on Wed Mar 4 04:33:17 2009 for OPeNDAP Back End Server (BES) by  doxygen 1.5.8