Ignore:
Timestamp:
Apr 10, 2012, 1:55:49 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
a40eea
Parents:
d24c2f
Message:

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1666 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/base/factory.cpp

    rd24c2f rac6d04  
    6868void Factory::PrintAvailableObjects()
    6969{
    70   MG::GetComm()->PrintStringOnce("Registered objects:");
     70  MG::GetComm()->PrintString("Registered objects:");
    7171  for (std::map<std::string, Object*>::iterator iter=object_map.begin(); iter!=object_map.end(); ++iter)
    72     MG::GetComm()->PrintStringOnce("%s", iter->second->Name().c_str());
     72    MG::GetComm()->PrintString("%s", iter->second->Name().c_str());
    7373}
     74
     75bool Factory::TestObject(std::string id) const
     76{
     77  return object_map.find(id) != object_map.end();
     78}
Note: See TracChangeset for help on using the changeset viewer.