58 map<string, string> props ;
62 string err =
"The specified command " + name
63 +
" is not a show catalog or show info command" ;
106 << (
void *)
this <<
")" << endl ;
#define SHOW_INFO_RESPONSE
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
static void GetNodeInfo(xmlNode *node, string &name, string &value, map< string, string > &props)
get the name, value if any, and any properties for the specified node
BESDataHandlerInterface _dhi
#define CATALOG_RESPONSE_STR
error thrown if there is a user syntax error in the request or any other user error ...
virtual void set_response()
The request has been parsed, use the command action name to set the response handler.
static ostream & LMarg(ostream &strm)
virtual void parse_request(xmlNode *node)
parse a show command.
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
virtual void dump(ostream &strm) const
dumps information about this object
BESXMLCatalogCommand(const BESDataHandlerInterface &base_dhi)
string action
the response object requested, e.g.
virtual void dump(ostream &strm) const
dumps information about this object
#define SHOW_INFO_RESPONSE_STR