5 #ifndef ICE_DEFAULT_VALUE_FACTORY_H
6 #define ICE_DEFAULT_VALUE_FACTORY_H
14 #ifdef ICE_CPP11_MAPPING
17 ::std::shared_ptr<::Ice::Value>
19 defaultValueFactory(
const std::string&)
21 defaultValueFactory(
const std::string& typeId)
24 assert(typeId == V::ice_staticId());
25 return std::make_shared<V>();
35 DefaultValueFactory(const ::std::string& typeId) :
41 virtual ::Ice::ObjectPtr create(const ::std::string& typeId)
43 virtual ::Ice::ObjectPtr create(const ::std::string&)
46 assert(typeId == _typeId);
51 const ::std::string _typeId;