#include <BESShowCommand.h>
Inheritance diagram for BESShowCommand:
Public Member Functions | |
BESShowCommand (const string &cmd) | |
virtual | ~BESShowCommand () |
virtual BESResponseHandler * | parse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
knows how to parse a show request | |
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 |
|
|
|
|
|
|
|
|
|
dumps information about this object Displays the pointer value of this instance
Reimplemented from BESCommand. |
|
|
|
Reimplemented in BESDefineCommand, and BESSetCommand. |
|
knows how to parse a show request This class knows how to parse a show request, building a sub response handler that actually knows how to build the requested response object, such as for show help or show version. A show request looks like: get <info_type>; where info_type is the type of information that the user is requesting, such as help or version This parse method creates the sub response handler that knows how to create the specified information, such as creating HelpResponseHandler.
Implements BESCommand. |
|
|
|
|