zookeeper-cpp
ZooKeeper Client for C++
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
zk::version Struct Referencefinal

Represents a version of the data. More...

#include <zk/types.hpp>

+ Inheritance diagram for zk::version:

Additional Inherited Members

- Public Types inherited from zk::strong_id< version, std::int32_t >
using value_type = std::int32_t
 The representation type of this ID. More...
 
- Public Member Functions inherited from zk::strong_id< version, std::int32_t >
 strong_id () noexcept=default
 Default construct the ID. More...
 
constexpr strong_id (value_type value) noexcept
 Construct this instance with the given value. More...
 
constexpr value_type get () const noexcept
 Get the value of this ID. More...
 
constexpr operator value_type () noexcept
 Get the value of this ID. More...
 
versionoperator++ ()
 
version operator++ (int)
 
versionoperator-- ()
 
version operator-- (int)
 
- Static Public Member Functions inherited from zk::basic_version< version >
static constexpr version invalid ()
 An invalid version specifier. More...
 
static constexpr version any ()
 When specified in an operation, this version specifier will always pass. More...
 
- Public Attributes inherited from zk::strong_id< version, std::int32_t >
value_type value
 Underlying value of this ID. More...
 

Detailed Description

Represents a version of the data.

See also
stat::data_version

Definition at line 158 of file types.hpp.


The documentation for this struct was generated from the following file: