From: <mk...@us...> - 2003-10-10 05:45:37
|
Update of /cvsroot/csp/APPLICATIONS/SimData/Source In directory sc8-pr-cvs1:/tmp/cvs-serv417/Source Modified Files: Tag: b0_4_0 InterfaceRegistry.cpp Log Message: Index: InterfaceRegistry.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/Source/InterfaceRegistry.cpp,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** InterfaceRegistry.cpp 18 Sep 2003 00:27:38 -0000 1.10.2.1 --- InterfaceRegistry.cpp 10 Oct 2003 05:45:33 -0000 1.10.2.2 *************** *** 68,75 **** } ! void InterfaceProxy::addInterface(ObjectInterfaceBase* interface, std::string const &classname, hasht const &classhash) { ! std::vector<std::string> names = interface->getVariableNames(); std::vector<std::string>::iterator name = names.begin(); for (; name != names.end(); ++name) { --- 68,75 ---- } ! void InterfaceProxy::addInterface(ObjectInterfaceBase* objectinterface, std::string const &classname, hasht const &classhash) { ! std::vector<std::string> names = objectinterface->getVariableNames(); std::vector<std::string>::iterator name = names.begin(); for (; name != names.end(); ++name) { *************** *** 83,89 **** throw InterfaceError(ss.str()); } ! _interfaces[*name] = interface; _variableNames.push_back(*name); ! if (interface->variableRequired(*name)) { _requiredNames.push_back(*name); } --- 83,89 ---- throw InterfaceError(ss.str()); } ! _interfaces[*name] = objectinterface; _variableNames.push_back(*name); ! if (objectinterface->variableRequired(*name)) { _requiredNames.push_back(*name); } |