Ice 3.7 C++11 API Reference
EndpointInfo.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 //
5 // Ice version 3.7.10
6 //
7 // <auto-generated>
8 //
9 // Generated from file `EndpointInfo.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __IceSSL_EndpointInfo_h__
17 #define __IceSSL_EndpointInfo_h__
18 
20 #include <Ice/ProxyF.h>
21 #include <Ice/ObjectF.h>
22 #include <Ice/ValueF.h>
23 #include <Ice/Exception.h>
24 #include <Ice/LocalObject.h>
25 #include <Ice/StreamHelpers.h>
26 #include <Ice/Comparable.h>
27 #include <IceUtil/ScopedArray.h>
28 #include <Ice/Optional.h>
29 #include <Ice/Endpoint.h>
30 #include <IceUtil/UndefSysMacros.h>
31 
32 #ifndef ICE_IGNORE_VERSION
33 # if ICE_INT_VERSION / 100 != 307
34 # error Ice version mismatch!
35 # endif
36 # if ICE_INT_VERSION % 100 >= 50
37 # error Beta header file detected
38 # endif
39 # if ICE_INT_VERSION % 100 < 10
40 # error Ice patch level mismatch!
41 # endif
42 #endif
43 
44 #ifndef ICESSL_API
45 # if defined(ICE_STATIC_LIBS)
46 # define ICESSL_API
47 # elif defined(ICESSL_API_EXPORTS)
48 # define ICESSL_API ICE_DECLSPEC_EXPORT
49 # else
50 # define ICESSL_API ICE_DECLSPEC_IMPORT
51 # endif
52 #endif
53 
54 #ifdef ICE_CPP11_MAPPING // C++11 mapping
55 
56 namespace IceSSL
57 {
58 
59 class EndpointInfo;
60 
61 }
62 
63 namespace IceSSL
64 {
65 
70 class ICE_CLASS(ICESSL_API) EndpointInfo : public ::Ice::EndpointInfo
71 {
72 public:
73 
75 
76  EndpointInfo() = default;
77 
78  EndpointInfo(const EndpointInfo&) = default;
79  EndpointInfo(EndpointInfo&&) = default;
80  EndpointInfo& operator=(const EndpointInfo&) = default;
82 
89  EndpointInfo(const ::std::shared_ptr<::Ice::EndpointInfo>& underlying, int timeout, bool compress) :
90  ::Ice::EndpointInfo(underlying, timeout, compress)
91  {
92  }
93 };
94 
95 }
96 
98 namespace Ice
99 {
100 
101 }
103 
105 namespace IceSSL
106 {
107 
108 using EndpointInfoPtr = ::std::shared_ptr<EndpointInfo>;
109 
110 }
112 
113 #else // C++98 mapping
114 
115 namespace IceSSL
116 {
117 
118 class EndpointInfo;
120 ICESSL_API ::Ice::LocalObject* upCast(EndpointInfo*);
122 typedef ::IceInternal::Handle< EndpointInfo> EndpointInfoPtr;
123 
124 }
125 
126 namespace IceSSL
127 {
128 
133 class ICESSL_API EndpointInfo : public ::Ice::EndpointInfo
134 {
135 public:
136 
137  typedef EndpointInfoPtr PointerType;
138 
139  virtual ~EndpointInfo();
140 
141  EndpointInfo()
142  {
143  }
144 
151  EndpointInfo(const ::Ice::EndpointInfoPtr& underlying, ::Ice::Int timeout, bool compress) :
152  ::Ice::EndpointInfo(underlying, timeout, compress)
153  {
154  }
155 
156 #ifdef ICE_CPP11_COMPILER
157  EndpointInfo(const EndpointInfo&) = default;
158  EndpointInfo& operator=(const EndpointInfo&) = default;
159 #endif
160 };
161 
163 inline bool operator==(const EndpointInfo& lhs, const EndpointInfo& rhs)
164 {
165  return static_cast<const ::Ice::LocalObject&>(lhs) == static_cast<const ::Ice::LocalObject&>(rhs);
166 }
167 
168 inline bool operator<(const EndpointInfo& lhs, const EndpointInfo& rhs)
169 {
170  return static_cast<const ::Ice::LocalObject&>(lhs) < static_cast<const ::Ice::LocalObject&>(rhs);
171 }
173 
174 }
175 
177 namespace Ice
178 {
179 
180 }
182 
183 #endif
184 
186 #endif
IceSSL::EndpointInfo
Provides access to an SSL endpoint information.
Definition: EndpointInfo.h:71
IceSSL
Definition: ConnectionInfo.h:59
Optional.h
IceSSL::EndpointInfo::operator=
EndpointInfo & operator=(const EndpointInfo &)=default
StreamHelpers.h
IceSSL::EndpointInfo::operator=
EndpointInfo & operator=(EndpointInfo &&)=default
Ice::operator==
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:184
IceSSL::EndpointInfo::EndpointInfo
EndpointInfo(const ::std::shared_ptr<::Ice::EndpointInfo > &underlying, int timeout, bool compress)
One-shot constructor to initialize all data members.
Definition: EndpointInfo.h:89
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
ICESSL_API
#define ICESSL_API
Definition: EndpointInfo.h:50
LocalObject.h
PushDisableWarnings.h
Ice::EndpointInfo
Base class providing access to the endpoint details.
Definition: Endpoint.h:129
ProxyF.h
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
UndefSysMacros.h
ObjectF.h
Ice
Definition: BuiltinSequences.h:56
IceSSL::EndpointInfo::EndpointInfo
EndpointInfo(EndpointInfo &&)=default
IceSSL::EndpointInfo::EndpointInfo
EndpointInfo(const EndpointInfo &)=default
Comparable.h
ScopedArray.h
IceSSL::EndpointInfo::~EndpointInfo
virtual ~EndpointInfo()
Exception.h
ValueF.h
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
IceSSL::EndpointInfo::EndpointInfo
EndpointInfo()=default
Endpoint.h
PopDisableWarnings.h