FACT++  1.0
bool DimServerList::HasServer ( const std::string &  server) const
Returns
whether the given server is in the list or not
Parameters
serverstring with the server which availability should be checked
serverserver-name to check for
Returns
whether the server with the given name is online or not

Definition at line 140 of file DimServerList.cc.

References fServerList.

Referenced by GetServerList(), and DimServerListImp::HasServer().

141 {
142  return find(fServerList.begin(), fServerList.end(), server)!=fServerList.end();
143 }
ServerList fServerList
Definition: DimServerList.h:18

+ Here is the caller graph for this function: