12 return i->second->Create();
24 static std::map<std::string, WeightCalcCreator*> table;
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
static WeightCalc * Create(const std::string &classname)
static std::map< std::string, WeightCalcCreator * > & GetTable()
static void Register(const std::string &wghcalcname, WeightCalcCreator *creator)