79 def add( self, configurable, package, module, lib ):
80 """Method to populate the Db.
81 It is called from the auto-generated Xyz_confDb.py files (genconf.cpp)
82 @param configurable: the name of the configurable being added
83 @param package: the name of the package which holds this Configurable
84 @param module: the name of the python module holding the Configurable
85 @param lib: the name of the library holding the component(s) (ie: the
86 C++ Gaudi component which is mapped by the Configurable)
87 """
88
89 cfg = { 'package' : package,
90 'module' : module,
91 'lib' : lib }
92
93 if configurable in self:
94
95 if cfg['lib'] != self[configurable]['lib']:
96 self.msg.
verbose(
"dup!! [%s] p=%s m=%s lib=%s",
97 configurable, package, module, lib )
98 if configurable in self._duplicates:
99 self._duplicates[configurable] += [ cfg ]
100 else:
101 self._duplicates[configurable] = [ cfg ]
102
103 else:
104 self.msg.
verbose(
"added [%s] p=%s m=%s lib=%s",
105 configurable, package, module, lib )
106 self[configurable] = cfg
107
bool add(const std::string &hname, TKey *tobj)