FACT++  1.0
void ServiceList::PrintServerList ( std::ostream &  out) const

Print the stored list of servers to the given stream.

Parameters
outostream to which the server names stored in fServerList are dumped

Definition at line 562 of file ServiceList.cc.

References fServerList, DimInfo::getName(), i, and kBold.

563 {
564  out << endl << kBold << "ServerList:" << endl;
565 
566  for (ServerMap::const_iterator i=fServerList.begin(); i!=fServerList.end(); i++)
567  {
568  const string &server = i->first;
569  DimInfo *ptr1 = i->second.first;
570  DimInfo *ptr2 = i->second.second;
571 
572  out << " " << server << " " << ptr1->getName() << "|" << ptr2->getName() << endl;
573  }
574  out << endl;
575 }
ServerMap fServerList
A filter for the type of the services to be collected, e.g. CMD.
Definition: ServiceList.h:29
int i
Definition: db_dim_client.c:21
Definition: dic.hxx:31
Set attribute Bold.
Definition: WindowLog.h:36
char * getName()
Definition: dic.hxx:101

+ Here is the call graph for this function: