FACT++  1.0
bool ServiceList::HasServer ( const std::string &  name) const

Checks if a server is existing.

Parameters
nameName of a server, e.g. DIS_DNS
Returns
true if the server is found in fServiceList, false otherwise

Definition at line 473 of file ServiceList.cc.

References end(), and fServiceList.

Referenced by SetHandler().

474 {
475  return fServiceList.find(name)!=end();
476 }
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:

+ Here is the caller graph for this function: