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

The result type of client::get. More...

#include <zk/results.hpp>

Public Member Functions

 get_result (buffer data, const zk::stat &stat) noexcept
 
const bufferdata () const &
 
bufferdata ()&
 
buffer data ()&&
 
const zk::statstat () const
 
zk::statstat ()
 

Detailed Description

The result type of client::get.

Definition at line 24 of file results.hpp.

Member Function Documentation

const buffer& zk::get_result::data ( ) const
inline

The data read from the entry.

Definition at line 33 of file results.hpp.

const zk::stat& zk::get_result::stat ( ) const
inline

The zk::stat of the entry at the time it was read. The most useful value of the returned value is stat::data_version.

Definition at line 41 of file results.hpp.


The documentation for this class was generated from the following files: