FACT++  1.0
vector< Description > ServiceList::GetDescriptions ( const std::string &  service) const

Get the Description vector of a command or service

Parameters
servicefull qualified service name, e.g. SERVER/EXIT
Returns
a vector of Description objects corresponding to the arguments

Definition at line 404 of file ServiceList.cc.

References fDescriptionList, and i.

405 {
406  const DescriptionMap::const_iterator i = fDescriptionList.find(service);
407  return i==fDescriptionList.end() ? vector<Description>() : i->second;
408 }
int i
Definition: db_dim_client.c:21
DescriptionMap fDescriptionList
A map storing all descriptions for commands and services.
Definition: ServiceList.h:33