16 #ifndef __Ice_EndpointF_h__
17 #define __Ice_EndpointF_h__
31 #ifndef ICE_IGNORE_VERSION
32 # if ICE_INT_VERSION / 100 != 307
33 # error Ice version mismatch!
35 # if ICE_INT_VERSION % 100 >= 50
36 # error Beta header file detected
38 # if ICE_INT_VERSION % 100 < 10
39 # error Ice patch level mismatch!
44 # if defined(ICE_STATIC_LIBS)
46 # elif defined(ICE_API_EXPORTS)
47 # define ICE_API ICE_DECLSPEC_EXPORT
49 # define ICE_API ICE_DECLSPEC_IMPORT
53 #ifdef ICE_CPP11_MAPPING // C++11 mapping
60 class TCPEndpointInfo;
61 class UDPEndpointInfo;
73 using EndpointSeq = ::std::vector<::std::shared_ptr<Endpoint>>;
88 using EndpointInfoPtr = ::std::shared_ptr<EndpointInfo>;
90 using IPEndpointInfoPtr = ::std::shared_ptr<IPEndpointInfo>;
92 using TCPEndpointInfoPtr = ::std::shared_ptr<TCPEndpointInfo>;
94 using UDPEndpointInfoPtr = ::std::shared_ptr<UDPEndpointInfo>;
96 using WSEndpointInfoPtr = ::std::shared_ptr<WSEndpointInfo>;
98 using EndpointPtr = ::std::shared_ptr<Endpoint>;
103 #else // C++98 mapping
112 typedef ::IceInternal::Handle< EndpointInfo> EndpointInfoPtr;
114 class IPEndpointInfo;
118 typedef ::IceInternal::Handle< IPEndpointInfo> IPEndpointInfoPtr;
120 class TCPEndpointInfo;
124 typedef ::IceInternal::Handle< TCPEndpointInfo> TCPEndpointInfoPtr;
126 class UDPEndpointInfo;
130 typedef ::IceInternal::Handle< UDPEndpointInfo> UDPEndpointInfoPtr;
132 class WSEndpointInfo;
136 typedef ::IceInternal::Handle< WSEndpointInfo> WSEndpointInfoPtr;
142 typedef ::IceInternal::Handle< Endpoint> EndpointPtr;