FACT++  1.0
vector< string >::const_iterator ServiceList::end ( const std::string &  server) const

Returns an iterator to the end of ta vector<string> which will contain the service names of the given server.

Parameters
serverName of a server, e.g. DIS_DNS
Returns
an iterator to the vector of strings with the service names for the given server. If none is found it returns vector<string>().end()

Definition at line 545 of file ServiceList.cc.

References end(), fServiceList, and i.

546 {
547  ServiceMap::const_iterator i = fServiceList.find(server);
548  if (i==end())
549  return vector<string>().end();
550 
551  return i->second.end();
552 }
int i
Definition: db_dim_client.c:21
ServiceMap fServiceList
A map storing server names and a DimInfo for their SERVICE_LIST.
Definition: ServiceList.h:30
ServiceMap::const_iterator end() const
Definition: ServiceList.h:63

+ Here is the call graph for this function: