58 map<string, string> props ;
62 string err =
"The specified command " + name
63 +
" is not a delete definition command" ;
67 string def_name = props[
"name"] ;
68 if( def_name.empty() )
70 string err = name +
" command: Must specify the definition to delete" ;
76 string storage = props[
"space"] ;
86 _str_cmd = (string)
"delete definition " + def_name
87 +
" from " + storage +
";" ;
104 << (
void *)
this <<
")" << endl ;
virtual void dump(ostream &strm) const
dumps information about this object
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
BESXMLDeleteDefinitionCommand(const BESDataHandlerInterface &base_dhi)
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
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.
#define PERSISTENCE_VOLATILE
static ostream & LMarg(ostream &strm)
#define DELETE_DEFINITION
#define DELETE_DEFINITION_STR
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 parse_request(xmlNode *node)
parse a delete definition command.
string action
the response object requested, e.g.
virtual void dump(ostream &strm) const
dumps information about this object