Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
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
12namespace Ice
13{
14
15class ObjectPrx;
17using ObjectPrxPtr = ::std::shared_ptr<ObjectPrx>;
19
20}
21
22namespace IceInternal
23{
24
25template<typename P>
26::std::shared_ptr<P> createProxy();
27
28}
29
30#else // C++98 mapping
31namespace IceProxy
32{
33
34namespace Ice
35{
36
37class Object;
38inline Object* upCast(Object* o) { return o; }
39
40}
41
42}
43
44namespace Ice
45{
46
47typedef IceInternal::ProxyHandle< ::IceProxy::Ice::Object> ObjectPrx;
49
50}
51
52#endif
53#endif
Base class of all object proxies.
Definition Proxy.h:1757
Definition Locator.h:1000
Object * upCast(Object *o)
Definition ProxyF.h:38
Definition Metrics.h:211
Definition BuiltinSequences.h:113
IceInternal::ProxyHandle< ::IceProxy::Ice::Object > ObjectPrx
Smart pointer for an object proxy.
Definition ProxyF.h:47
ObjectPrx ObjectPrxPtr
Definition ProxyF.h:48