Program: bbtk
Module: $RCSfile: bbtkFactory.cxx,v $
Language: C++
- Date: $Date: 2010/04/28 22:19:59 $
- Version: $Revision: 1.48 $
+ Date: $Date: 2010/09/12 14:59:29 $
+ Version: $Revision: 1.51 $
=========================================================================*/
/* ---------------------------------------------------------------------
//===================================================================
+// ups3 EED borrame
+ std::string Factory::GetPackageNameOfaBlackBox(std::string boxType)
+ {
+ std::string result="<void bbtk package name>";
+ PackageMapType::const_iterator i;
+ for (i = mPackageMap.begin(); i!=mPackageMap.end(); ++i )
+ {
+ if ( i->second->ifBoxExist( boxType ) == true)
+ {
+ result = i->first;
+ }
+ }
+ return result;
+ }
+
+
//===================================================================
/// Creates an instance of a black box of type <type> with name <name>
BlackBox::Pointer Factory::NewBlackBox(const std::string& type,