#include <BESDefineCommand.h>
Inheritance diagram for BESDefineCommand:
Public Member Functions | |
BESDefineCommand (const string &cmd) | |
virtual | ~BESDefineCommand () |
virtual string | parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
virtual BESResponseHandler * | parse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
parses the request to build a definition that can be used in other requests, such as get commands. | |
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 |
|
|
|
|
|
|
|
|
|
dumps information about this object Displays the pointer value of this instance
Reimplemented from BESCommand. |
|
|
|
Reimplemented from BESCommand. |
|
parses the request to build a definition that can be used in other requests, such as get commands. A request looks like:
define <def_name> as <container_list> where container_list is a list of containers representing points of data, such as a file. For each container in the container_list the user can specify a constraint and a list of attributes. You need not specify a constraint for a given container or a list of attributes. If just specifying a constraint then leave out the attributes. If just specifying a list of attributes then leave out the constraint. For example:
define d1 as container_1,container_2
Implements BESCommand. |
|
|
|
|