32 #include <Ice/ValueFactory.h>
36 class FactoryCollectionBase;
50 template <
class IceBaseClass,
class DerivedClass>
55 create(
const std::string& type)
override
57 assert(type == IceBaseClass::ice_staticId());
58 return new DerivedClass();
75 static const std::vector<FactoryCollectionBasePtr>&
81 template <
class IceBaseClass,
class DerivedClass>
85 map.insert(std::make_pair(IceBaseClass::ice_staticId(),
89 template <
class DerivedClass>
93 map.insert(std::make_pair(DerivedClass::ice_staticId(),