21 #ifndef __IceStorm_DBTypes_h__
22 #define __IceStorm_DBTypes_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/Incoming.h>
30 #include <Ice/LocalObject.h>
31 #include <Ice/Object.h>
32 #include <Ice/ObjectF.h>
33 #include <Ice/Optional.h>
34 #include <Ice/Proxy.h>
35 #include <Ice/ProxyF.h>
36 #include <Ice/StreamHelpers.h>
37 #include <Ice/Value.h>
38 #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
70 ::std::map<::IceStorm::SubscriberRecordKey, ::IceStorm::SubscriberRecord>;
86 using Ice::operator<=;
88 using Ice::operator>=;
89 using Ice::operator==;
90 using Ice::operator!=;
100 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
101 static const int minWireSize = 2;
102 static const bool fixedLength =
false;
105 template <
typename S>
111 istr->readAll(
v.llus,
v.subscribers);
117 #else // C++98 mapping
134 typedef ::std::map<::IceStorm::SubscriberRecordKey, ::IceStorm::SubscriberRecord>
156 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
157 static const int minWireSize = 2;
158 static const bool fixedLength =
false;
161 template <
typename S>
165 write(S* ostr, const ::IceStorm::AllData&
v)
168 ostr->write(
v.subscribers);
172 template <
typename S>
179 istr->read(
v.subscribers);
187 #include <IceUtil/PopDisableWarnings.h>