Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

BESCommand Class Reference

#include <BESCommand.h>

Inheritance diagram for BESCommand:

[legend]
Collaboration diagram for BESCommand:
[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 TestCommand, BESCatalogCommand, BESDefineCommand, BESDelContainerCommand, BESDelContainersCommand, BESDelDefCommand, BESDelDefsCommand, BESDeleteCommand, BESGetCommand, BESSetCommand, BESSetContainerCommand, BESSetContextCommand, BESShowCommand, and BESTermCommand.

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

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

Reimplemented in BESDefineCommand, and BESSetCommand.

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

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


Member Data Documentation

string BESCommand::_cmd [protected]
 

BESCommand * BESCommand::TermCommand = new BESTermCommand( "term" ) [static]
 


The documentation for this class was generated from the following files:
Generated on Thu May 3 23:10:58 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.4.4