58 map<string, string> props ;
62 string err =
"The specified command " + name
63 +
" is not a delete container command" ;
67 string container_name = props[
"name"] ;
68 if( container_name.empty() )
70 string err = name +
" command: Must specify the container to delete" ;
76 string storage = props[
"space"] ;
86 _str_cmd = (string)
"delete container " + container_name
87 +
" from " + storage +
";" ;
104 << (
void *)
this <<
")" << endl ;
#define DELETE_CONTAINER_STR
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
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)
Structure storing information used by the BES to handle the request.
virtual void parse_request(xmlNode *node)
parse a show command.
map< string, string > data
the map of string data that will be required for the current request.
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
virtual void dump(ostream &strm) const
dumps information about this object
BESXMLDeleteContainerCommand(const BESDataHandlerInterface &base_dhi)
string action
the response object requested, e.g.