FACT++  1.0
string ServiceList::GetComment ( const std::string &  service) const

Get a description describing the given command or service if available.

Parameters
servicefull qualified service name, e.g. SERVER/EXIT
Returns
string with the stored comment

Definition at line 439 of file ServiceList.cc.

References fDescriptionMap, and i.

440 {
441  const StringMap::const_iterator i = fDescriptionMap.find(service);
442  return i==fDescriptionMap.end() ? "" : i->second;
443 }
int i
Definition: db_dim_client.c:21
StringMap fDescriptionMap
A map storing all commands and their format strings.
Definition: ServiceList.h:32