21#ifndef __IceStorm_LLURecord_h__
22#define __IceStorm_LLURecord_h__
24#include <Ice/Comparable.h>
25#include <Ice/Exception.h>
26#include <Ice/LocalObject.h>
27#include <Ice/ObjectF.h>
28#include <Ice/Optional.h>
29#include <Ice/ProxyF.h>
30#include <Ice/StreamHelpers.h>
31#include <Ice/ValueF.h>
32#include <IceUtil/PushDisableWarnings.h>
33#include <IceUtil/ScopedArray.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
58 std::tuple<const long long int&, const long long int&>
66 using Ice::operator<=;
68 using Ice::operator>=;
69 using Ice::operator==;
70 using Ice::operator!=;
78 struct StreamableTraits<::IceStormElection::LogUpdate>
80 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
81 static const int minWireSize = 16;
82 static const bool fixedLength =
true;
86 struct StreamReader<::IceStormElection::LogUpdate, S>
89 read(S* istr, ::IceStormElection::LogUpdate& v)
91 istr->readAll(
v.generation,
v.iteration);
184 static const StreamHelperCategory
helper = StreamHelperCategoryStruct;
189 template <
typename S>
193 write(S* ostr, const ::IceStormElection::LogUpdate& v)
195 ostr->write(v.generation);
196 ostr->write(v.iteration);
200 template <
typename S>
206 istr->read(v.generation);
207 istr->read(v.iteration);
215#include <IceUtil/PopDisableWarnings.h>
double v(double t, double v0, double a0, double j)
void read(auto &eigen, auto *table)
A struct used for marking the last log update.
bool operator>(const LogUpdate &rhs_) const
bool operator>=(const LogUpdate &rhs_) const
bool operator<(const LogUpdate &rhs_) const
bool operator<=(const LogUpdate &rhs_) const
bool operator!=(const LogUpdate &rhs_) const
bool operator==(const LogUpdate &rhs_) const
static void read(S *istr, ::IceStormElection::LogUpdate &v)
static void write(S *ostr, const ::IceStormElection::LogUpdate &v)
static const StreamHelperCategory helper
static const bool fixedLength
static const int minWireSize