#include <BESCommand.h>
Inheritance diagram for BESCommand:
Public Member Functions | |
BESCommand (const string &cmd) | |
virtual | ~BESCommand () |
virtual string | parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
virtual BESResponseHandler * | parse_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 BESCommand * | find_command (const string &cmd_str) |
Static Public Attributes | |
static BESCommand * | TermCommand = new BESTermCommand( "term" ) |
Protected Attributes | |
string | _cmd |
BESCommand::BESCommand | ( | const string & | cmd | ) | [inline] |
virtual BESCommand::~BESCommand | ( | ) | [inline, virtual] |
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
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, BESTermCommand, and OPENDAP_CLASSOPENDAP_COMMANDCommand.
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, BESTermCommand, and OPENDAP_CLASSOPENDAP_COMMANDCommand.
string BESCommand::_cmd [protected] |
BESCommand * BESCommand::TermCommand = new BESTermCommand( "term" ) [static] |