Ice 3.7 C++11 API Reference
ProxyF.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #ifndef ICE_PROXY_F_H
6 #define ICE_PROXY_F_H
7 
8 #include <Ice/Config.h>
9 #include <Ice/ProxyHandle.h>
10 
11 #ifdef ICE_CPP11_MAPPING
12 namespace Ice
13 {
14 
15 class ObjectPrx;
17 using ObjectPrxPtr = ::std::shared_ptr<ObjectPrx>;
19 
20 }
21 
22 namespace IceInternal
23 {
24 
25 template<typename P>
26 ::std::shared_ptr<P> createProxy();
27 
28 }
29 
30 #else // C++98 mapping
31 namespace IceProxy
32 {
33 
34 namespace Ice
35 {
36 
37 class Object;
38 inline Object* upCast(Object* o) { return o; }
39 
40 }
41 
42 }
43 
44 namespace Ice
45 {
46 
47 typedef IceInternal::ProxyHandle< ::IceProxy::Ice::Object> ObjectPrx;
48 typedef ObjectPrx ObjectPrxPtr;
49 
50 }
51 
52 #endif
53 #endif
ProxyHandle.h
Config.h
Ice
Definition: BuiltinSequences.h:56