5#ifndef ICE_FACTORYTABLE_H
6#define ICE_FACTORYTABLE_H
44 void removeExceptionFactory(const ::std::string&);
48 void removeValueFactory(const ::std::string&);
50 void addTypeId(
int, const ::std::string&);
51 std::string getTypeId(
int)
const;
52 void removeTypeId(
int);
59 typedef ::std::map< ::std::string, EFPair> EFTable;
63 typedef ::std::map< ::std::string, VFPair> VFTable;
66 typedef ::std::pair< ::std::string, int> TypeIdPair;
67 typedef ::std::map<int, TypeIdPair> TypeIdTable;
68 TypeIdTable _typeIdTable;
#define ICE_DELEGATE(T)
Definition Config.h:369
#define ICE_API
Definition Config.h:197
#define ICE_IN(...)
Definition Config.h:370
The base class for a compact ID resolver.
Definition FactoryTable.h:21
virtual::std::string resolve(Ice::Int id) const =0
Called by the Ice run time when a compact ID must be translated into a type ID.
Definition BuiltinSequences.h:56
int Int
The mapping for the Slice int type.
Definition Config.h:54
::std::function<::std::shared_ptr< Value >(const ::std::string &type)> ValueFactory
Create a new value for a given value type.
Definition ValueFactory.h:77
IceUtil::Handle< CompactIdResolver > CompactIdResolverPtr
Definition FactoryTable.h:31
std::function< void(const std::string &)> UserExceptionFactory
Creates and throws a user exception.
Definition UserExceptionFactory.h:20