21 #ifndef __IceStorm_DBTypes_h__
22 #define __IceStorm_DBTypes_h__
24 #include <IceUtil/PushDisableWarnings.h>
25 #include <Ice/ProxyF.h>
26 #include <Ice/ObjectF.h>
27 #include <Ice/ValueF.h>
28 #include <Ice/Exception.h>
29 #include <Ice/LocalObject.h>
30 #include <Ice/StreamHelpers.h>
31 #include <Ice/Comparable.h>
32 #include <Ice/Proxy.h>
33 #include <Ice/Object.h>
34 #include <Ice/GCObject.h>
35 #include <Ice/Value.h>
36 #include <Ice/Incoming.h>
37 #include <Ice/FactoryTableInit.h>
38 #include <IceUtil/ScopedArray.h>
39 #include <Ice/Optional.h>
40 #include <Ice/ExceptionHelpers.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
69 using SubscriberRecordDict = ::std::map<::IceStorm::SubscriberRecordKey, ::IceStorm::SubscriberRecord>;
76 std::tuple<const ::IceStormElection::StringLogUpdateDict&, const ::IceStorm::SubscriberRecordDict&> ice_tuple()
const
83 using Ice::operator<=;
85 using Ice::operator>=;
86 using Ice::operator==;
87 using Ice::operator!=;
97 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
98 static const int minWireSize = 2;
99 static const bool fixedLength =
false;
107 istr->readAll(
v.llus,
v.subscribers);
113 #else // C++98 mapping
151 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
152 static const int minWireSize = 2;
153 static const bool fixedLength =
false;
159 static void write(S* ostr, const ::IceStorm::AllData&
v)
162 ostr->write(
v.subscribers);
172 istr->read(
v.subscribers);
180 #include <IceUtil/PopDisableWarnings.h>