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 _space = props[
"space"] ;
124 if( !_space.empty() )
_str_cmd +=
" in " + _space ;
126 string returnAs = props[
"returnAs"] ;
127 if( returnAs.empty() )
133 _str_cmd +=
" return as " + returnAs ;
137 BESDEBUG(
"besxml",
"Converted xml element name to command "
150 if( _sub_cmd )
return _sub_cmd->
get_dhi() ;
174 if( !_space.empty() )
190 string s = (string)
"Unable to find definition " + _definition ;
216 << (
void *)
this <<
")" << endl ;