#include <BESTermCommand.h>
Public Member Functions | |
BESTermCommand (const string &cmd) | |
virtual | ~BESTermCommand () |
virtual BESResponseHandler * | parse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual string | parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
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 |
BESTermCommand::BESTermCommand | ( | const string & | cmd | ) | [inline] |
virtual BESTermCommand::~BESTermCommand | ( | ) | [inline, virtual] |
BESResponseHandler * BESTermCommand::parse_request | ( | BESTokenizer & | tokens, | |
BESDataHandlerInterface & | dhi | |||
) | [virtual] |
Implements BESCommand.
References BESTokenizer::parse_error().
void BESTermCommand::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 |
Reimplemented from BESCommand.
References BESCommand::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
string BESCommand::parse_options | ( | BESTokenizer & | tokens, | |
BESDataHandlerInterface & | dhi | |||
) | [virtual, inherited] |
Reimplemented in BESDefineCommand, and BESSetCommand.
References BESTokenizer::get_next_token().
Referenced by BESShowCommand::parse_request(), BESGetCommand::parse_request(), BESDeleteCommand::parse_request(), and BESCatalogCommand::parse_request().
void BESCommand::add_command | ( | const string & | cmd_str, | |
BESCommand * | cmd | |||
) | [static, inherited] |
Referenced by DAPCommandModule::initialize(), and BESDefaultCommands::initialize().
bool BESCommand::del_command | ( | const string & | cmd_str | ) | [static, inherited] |
Referenced by DAPCommandModule::terminate(), and BESDefaultCommands::terminate().
BESCommand * BESCommand::find_command | ( | const string & | cmd_str | ) | [static, inherited] |
string BESCommand::_cmd [protected, inherited] |
Referenced by BESCommand::dump(), BESShowCommand::parse_request(), BESSetCommand::parse_request(), BESGetCommand::parse_request(), BESDeleteCommand::parse_request(), BESDelDefsCommand::parse_request(), BESDelDefCommand::parse_request(), BESDelContainersCommand::parse_request(), BESDelContainerCommand::parse_request(), BESDefineCommand::parse_request(), and BESCatalogCommand::parse_request().
BESCommand * BESCommand::TermCommand = new BESTermCommand( "term" ) [static, inherited] |