61 map<string, string> props ;
65 string err =
"The specified command " + name
66 +
" is not a get command" ;
72 string type = props[
"type"] ;
75 string err = name +
" command: Must specify data product type" ;
83 _sub_cmd = bldr(
_dhi ) ;
86 string err = (string)
"Failed to build command object for "
111 map<string,string> &props )
115 _definition = props[
"definition"] ;
116 if( _definition.empty() )
118 string err = name +
" command: Must specify definition" ;
123 string returnAs = props[
"returnAs"] ;
124 if( returnAs.empty() )
130 _str_cmd +=
" return as " + returnAs ;
134 BESDEBUG(
"besxml",
"Converted xml element name to command "
147 if( _sub_cmd )
return _sub_cmd->
get_dhi() ;
175 string s = (string)
"Unable to find definition " + _definition ;
201 << (
void *)
this <<
")" << endl ;