Go to the documentation of this file.
21 #ifndef __IceStorm_LLURecord_h__
22 #define __IceStorm_LLURecord_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 <IceUtil/ScopedArray.h>
33 #include <Ice/Optional.h>
34 #include <IceUtil/UndefSysMacros.h>
36 #ifndef ICE_IGNORE_VERSION
37 # if ICE_INT_VERSION / 100 != 307
38 # error Ice version mismatch!
40 # if ICE_INT_VERSION % 100 > 50
41 # error Beta header file detected
43 # if ICE_INT_VERSION % 100 < 0
44 # error Ice patch level mismatch!
48 #ifdef ICE_CPP11_MAPPING // C++11 mapping
58 std::tuple<const long long int&, const long long int&> ice_tuple()
const
65 using Ice::operator<=;
67 using Ice::operator>=;
68 using Ice::operator==;
69 using Ice::operator!=;
79 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
80 static const int minWireSize = 16;
81 static const bool fixedLength =
true;
89 istr->readAll(
v.generation,
v.iteration);
95 #else // C++98 mapping
173 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
174 static const int minWireSize = 16;
175 static const bool fixedLength =
true;
181 static void write(S* ostr, const ::IceStormElection::LogUpdate&
v)
183 ostr->write(
v.generation);
184 ostr->write(
v.iteration);
193 istr->read(
v.generation);
194 istr->read(
v.iteration);
202 #include <IceUtil/PopDisableWarnings.h>
static void write(S *ostr, const ::IceStormElection::LogUpdate &v)
A struct used for marking the last log update.
static void read(S *istr, ::IceStormElection::LogUpdate &v)
void read(auto &eigen, auto *table)
bool operator<(const LogUpdate &rhs_) const
bool operator<=(const LogUpdate &rhs_) const
double v(double t, double v0, double a0, double j)
bool operator!=(const LogUpdate &rhs_) const
bool operator>=(const LogUpdate &rhs_) const
bool operator>(const LogUpdate &rhs_) const
bool operator==(const LogUpdate &rhs_) const