21 #ifndef __IceStorm_LinkRecord_h__
22 #define __IceStorm_LinkRecord_h__
24 #include <Ice/Comparable.h>
25 #include <Ice/Exception.h>
26 #include <Ice/ExceptionHelpers.h>
27 #include <Ice/FactoryTableInit.h>
28 #include <Ice/GCObject.h>
29 #include <Ice/Identity.h>
30 #include <Ice/Incoming.h>
31 #include <Ice/LocalObject.h>
32 #include <Ice/Object.h>
33 #include <Ice/ObjectF.h>
34 #include <Ice/Optional.h>
35 #include <Ice/Proxy.h>
36 #include <Ice/ProxyF.h>
37 #include <Ice/StreamHelpers.h>
38 #include <Ice/Value.h>
39 #include <Ice/ValueF.h>
41 #include <IceUtil/PushDisableWarnings.h>
42 #include <IceUtil/ScopedArray.h>
43 #include <IceUtil/UndefSysMacros.h>
45 #ifndef ICE_IGNORE_VERSION
46 #if ICE_INT_VERSION / 100 != 307
47 #error Ice version mismatch!
49 #if ICE_INT_VERSION % 100 > 50
50 #error Beta header file detected
52 #if ICE_INT_VERSION % 100 < 0
53 #error Ice patch level mismatch!
57 #ifdef ICE_CPP11_MAPPING // C++11 mapping
64 ::std::shared_ptr<::IceStorm::TopicLinkPrx>
obj;
66 ::std::shared_ptr<::IceStorm::TopicPrx>
theTopic;
68 std::tuple<const ::std::shared_ptr<::IceStorm::TopicLinkPrx>&,
70 const ::std::shared_ptr<::IceStorm::TopicPrx>&>
78 using Ice::operator<=;
80 using Ice::operator>=;
81 using Ice::operator==;
82 using Ice::operator!=;
92 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
93 static const int minWireSize = 8;
94 static const bool fixedLength =
false;
103 istr->readAll(
v.obj,
v.cost,
v.theTopic);
109 #else // C++98 mapping
139 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
140 static const int minWireSize = 8;
141 static const bool fixedLength =
false;
144 template <
typename S>
148 write(S* ostr, const ::IceStorm::LinkRecord&
v)
152 ostr->write(
v.theTopic);
156 template <
typename S>
164 istr->read(
v.theTopic);
172 #include <IceUtil/PopDisableWarnings.h>